Exception: Workflow::Errors::StateComparisonError
- Inherits:
-
StandardError
- Object
- StandardError
- Workflow::Errors::StateComparisonError
- Defined in:
- lib/workflow/errors.rb
Instance Method Summary collapse
-
#initialize(state, other) ⇒ StateComparisonError
constructor
A new instance of StateComparisonError.
Constructor Details
#initialize(state, other) ⇒ StateComparisonError
Returns a new instance of StateComparisonError.
38 39 40 |
# File 'lib/workflow/errors.rb', line 38 def initialize(state, other) super("Can't compare #{state} with #{other} bc [#{other}] is not a defined state.") end |