Exception: Legion::Gaia::Workflow::UnknownState

Inherits:
Error
  • Object
show all
Defined in:
lib/legion/gaia/workflow/errors.rb

Overview

Raised when referencing an undefined state

Instance Method Summary collapse

Constructor Details

#initialize(state) ⇒ UnknownState

Returns a new instance of UnknownState.



46
47
48
# File 'lib/legion/gaia/workflow/errors.rb', line 46

def initialize(state)
  super("Unknown state: #{state.inspect}")
end