Class: WorkflowTemplate::Fatal::BadValidationReturn

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

Instance Method Summary collapse

Constructor Details

#initialize(action_name) ⇒ BadValidationReturn

Returns a new instance of BadValidationReturn.



48
49
50
51
# File 'lib/workflow_template/error.rb', line 48

def initialize(action_name)
  full_message = "Invalid return from '#{action_name}' validation"
  super(full_message)
end