class AWS::Flow::ActivityTaskFailedException

Unhandled exceptions in activities are reported back to the workflow implementation by throwing an ‘ActivityTaskFailedException`. 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 activity identifier in the history.

@abstract An exception raised when the activity task has failed.

Attributes

cause[RW]
details[RW]

Public Class Methods

new(id, activity_id, reason, details) click to toggle source

Creates a new ‘ActivityTaskFailedException`.

Calls superclass method AWS::Flow::FlowException::new
# File lib/aws/decider/exceptions.rb, line 171
def initialize(id, activity_id, reason, details)
  @id = id
  @activity_id = activity_id
  @cause = details
  super(reason, details)
end