Class: WorkflowTemplate::Fatal::Detailed

Inherits:
Fatal
  • Object
show all
Defined in:
lib/workflow_template/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(action_name, input, message) ⇒ Detailed

Returns a new instance of Detailed.



62
63
64
65
# File 'lib/workflow_template/error.rb', line 62

def initialize(action_name, input, message)
  full_message = "Fatal error in '#{action_name}': #{message}, input: #{input.inspect}"
  super(full_message)
end