Class: WorkflowTemplate::Fatal::UnexpectedNil

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

Instance Method Summary collapse

Constructor Details

#initialize(action_name) ⇒ UnexpectedNil

Returns a new instance of UnexpectedNil.



79
80
81
82
# File 'lib/workflow_template/error.rb', line 79

def initialize(action_name)
  full_message = "Nil return from '#{action_name}', nil is not allowed for 'update' state transition strategy"
  super(full_message)
end