class AWS::Flow::ChildWorkflowTerminatedException

Public Class Methods

new(event_id, workflow_execution, workflow_type) click to toggle source
# 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