Exception: Actor::InvalidState
- Inherits:
-
Exception
- Object
- Exception
- Actor::InvalidState
- Defined in:
- lib/Olib/actor/actor.rb
Instance Method Summary collapse
-
#initialize(state, flow) ⇒ InvalidState
constructor
A new instance of InvalidState.
Constructor Details
#initialize(state, flow) ⇒ InvalidState
Returns a new instance of InvalidState.
113 114 115 |
# File 'lib/Olib/actor/actor.rb', line 113 def initialize(state, flow) super "Actor::state cannot be #{state}, validate states: #{flow.states}" end |