Exception: StateMachinable::EventNotHandledException
- Inherits:
-
StandardError
- Object
- StandardError
- StateMachinable::EventNotHandledException
- Defined in:
- lib/state_machinable/event_not_handled_exception.rb
Instance Method Summary collapse
-
#initialize(event:, state:) ⇒ EventNotHandledException
constructor
A new instance of EventNotHandledException.
Constructor Details
#initialize(event:, state:) ⇒ EventNotHandledException
Returns a new instance of EventNotHandledException.
3 4 5 |
# File 'lib/state_machinable/event_not_handled_exception.rb', line 3 def initialize(event:, state:) super("EVENT '#{event}' not implemented for state '#{state}'") end |