Sha256: 3fe66b65c168705376bcc4e4f1f24521bdfeddd63f0554adc30cb02fb23ba9bf

Contents?: true

Size: 194 Bytes

Versions: 10

Compression:

Stored size: 194 Bytes

Contents

module StateMachinable
  class EventNotHandledException < StandardError
    def initialize(event:, state:)
      super("EVENT '#{event}' not implemented for state '#{state}'")
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
state_machinable-4.0.0 lib/state_machinable/event_not_handled_exception.rb
state_machinable-3.1.0 lib/state_machinable/event_not_handled_exception.rb
state_machinable-3.1.0.pre lib/state_machinable/event_not_handled_exception.rb
state_machinable-3.0.0 lib/state_machinable/event_not_handled_exception.rb
state_machinable-3.0.0.pre.rc0 lib/state_machinable/event_not_handled_exception.rb
state_machinable-2.0.0 lib/state_machinable/event_not_handled_exception.rb
state_machinable-1.0.1 lib/state_machinable/event_not_handled_exception.rb
state_machinable-1.0.0 lib/state_machinable/event_not_handled_exception.rb
state_machinable-0.0.6 lib/state_machinable/event_not_handled_exception.rb
state_machinable-0.0.5 lib/state_machinable/event_not_handled_exception.rb