Exception: AWS::Flow::ChildWorkflowTerminatedException

Inherits:
ChildWorkflowException show all
Defined in:
lib/aws/decider/exceptions.rb

Instance Attribute Summary

Attributes inherited from FlowException

#details, #reason

Instance Method Summary collapse

Methods inherited from ChildWorkflowException

#detail_termination

Constructor Details

#initialize(event_id, workflow_execution, workflow_type) ⇒ ChildWorkflowTerminatedException

Returns a new instance of ChildWorkflowTerminatedException.



65
66
67
68
69
70
# File 'lib/aws/decider/exceptions.rb', line 65

def initialize(event_id, workflow_execution, workflow_type)
  @reason = "WF exception terminated"
  @detail = detail_termination("Terminated", event_id, workflow_execution, workflow_type)
  # TODO: we'll likely want to provide more info later, but it'll take a bit to plumb it
  # @detail = "Terminate for workflow_execution #{workflow_execution.to_s} of workflow_type #{workflow_type.to_s} with event_id #{event_id}"
end