Class: WorkflowTemplate::Fatal::BadInput

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

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ BadInput

Returns a new instance of BadInput.



55
56
57
58
# File 'lib/workflow_template/error.rb', line 55

def initialize(value)
  full_message = "Invalid input, Hash expected, got '#{value.inspect}' (#{value.class.name})"
  super(full_message)
end