Exception: Actor::InvalidState

Inherits:
Exception
  • Object
show all
Defined in:
lib/Olib/actor/actor.rb

Instance Method Summary collapse

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