class AWS::Flow::ChildWorkflowFailedException
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 {#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.
@abstract An exception raised when the child workflow execution has failed.
Attributes
cause[RW]
details[RW]
Public Class Methods
new(event_id, execution, workflow_type, reason, details)
click to toggle source
Creates a new ‘ChildWorkflowFailedException`
@param event_id
The event ID for the exception.
@param execution
The child workflow execution that raised the exception.
@param workflow_type
The workflow type of the child workflow that raised the exception.
@param (see FlowException#initialize)
Calls superclass method
AWS::Flow::FlowException::new
# 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