Class: WorkflowTemplate::Fatal::BadActionReturn
- Inherits:
-
Fatal
- Object
- Fatal
- WorkflowTemplate::Fatal::BadActionReturn
- Defined in:
- lib/workflow_template/error.rb
Instance Method Summary collapse
-
#initialize(action_name, value) ⇒ BadActionReturn
constructor
A new instance of BadActionReturn.
Constructor Details
#initialize(action_name, value) ⇒ BadActionReturn
Returns a new instance of BadActionReturn.
29 30 31 32 33 34 35 36 |
# File 'lib/workflow_template/error.rb', line 29 def initialize(action_name, value) = <<~ERR.squish Invalid return from '#{action_name}' action, nil or Hash expected, got '#{value.inspect}' (#{value.class.name}) ERR super() end |