Exception: EventState::SendProtocolError
- Inherits:
-
ProtocolError
- Object
- RuntimeError
- ProtocolError
- EventState::SendProtocolError
- Defined in:
- lib/event_state.rb
Overview
Error raised by Machine when a message that is invalid according to the machine’s protocol is sent.
Instance Attribute Summary
Attributes inherited from ProtocolError
#action, #data, #machine, #message_name, #state_name
Instance Method Summary collapse
-
#initialize(machine, state_name, message_name, data) ⇒ SendProtocolError
constructor
A new instance of SendProtocolError.
Methods inherited from ProtocolError
Constructor Details
#initialize(machine, state_name, message_name, data) ⇒ SendProtocolError
Returns a new instance of SendProtocolError.
64 65 66 |
# File 'lib/event_state.rb', line 64 def initialize machine, state_name, , data super machine, state_name, :send, , data end |