Exception: StateMachinable::EventNotHandledException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/state_machinable/event_not_handled_exception.rb

Instance Method Summary collapse

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