Exception: AWS::Flow::ChildWorkflowFailedException Abstract
- Inherits:
-
FlowException
- Object
- Exception
- FlowException
- AWS::Flow::ChildWorkflowFailedException
- Defined in:
- lib/aws/decider/exceptions.rb
Overview
This class is abstract.
An exception raised when the child workflow execution has failed.
Unhandled exceptions in child workflows are reported back to the parent workflow implementation by throwing a ‘ChildWorkflowFailedException`. The original exception can be retrieved from the FlowException#reason attribute of this exception. The exception also provides information in the #details attribute that is useful for debugging purposes, such as the unique identifiers of the child execution.
Instance Attribute Summary collapse
-
#cause ⇒ Object
Returns the value of attribute cause.
-
#details ⇒ Object
Returns the value of attribute details.
Attributes inherited from FlowException
Instance Method Summary collapse
-
#initialize(event_id, execution, workflow_type, reason, details) ⇒ ChildWorkflowFailedException
constructor
Creates a new ‘ChildWorkflowFailedException`.
Constructor Details
#initialize(event_id, execution, workflow_type, reason, details) ⇒ ChildWorkflowFailedException
Creates a new ‘ChildWorkflowFailedException`
102 103 104 105 106 |
# File 'lib/aws/decider/exceptions.rb', line 102 def initialize(event_id, execution, workflow_type, reason, details) @cause = details # TODO This should probably do more with the event_id, execution, workflow_type super(reason, details) end |
Instance Attribute Details
#cause ⇒ Object
Returns the value of attribute cause.
88 89 90 |
# File 'lib/aws/decider/exceptions.rb', line 88 def cause @cause end |
#details ⇒ Object
Returns the value of attribute details.
88 89 90 |
# File 'lib/aws/decider/exceptions.rb', line 88 def details @details end |