Exception: AWS::Flow::ChildWorkflowTerminatedException
- Inherits:
-
ChildWorkflowException
- Object
- Exception
- FlowException
- ChildWorkflowException
- AWS::Flow::ChildWorkflowTerminatedException
- Defined in:
- lib/aws/decider/exceptions.rb
Instance Attribute Summary
Attributes inherited from FlowException
Instance Method Summary collapse
-
#initialize(event_id, workflow_execution, workflow_type) ⇒ ChildWorkflowTerminatedException
constructor
A new instance of ChildWorkflowTerminatedException.
Methods inherited from ChildWorkflowException
Constructor Details
#initialize(event_id, workflow_execution, workflow_type) ⇒ ChildWorkflowTerminatedException
Returns a new instance of ChildWorkflowTerminatedException.
64 65 66 67 68 69 |
# File 'lib/aws/decider/exceptions.rb', line 64 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 |