Exception: AWS::Flow::Core::CancellationException

Inherits:
Exception
  • Object
show all
Defined in:
lib/aws/flow/flow_utils.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reason = nil, details = nil) ⇒ CancellationException

Returns a new instance of CancellationException.



23
24
25
26
# File 'lib/aws/flow/flow_utils.rb', line 23

def initialize(reason = nil, details = nil)
  @reason = reason
  @details = details
end

Instance Attribute Details

#detailsObject

Returns the value of attribute details.



22
23
24
# File 'lib/aws/flow/flow_utils.rb', line 22

def details
  @details
end

#reasonObject

Returns the value of attribute reason.



22
23
24
# File 'lib/aws/flow/flow_utils.rb', line 22

def reason
  @reason
end