Exception: EventState::RecvProtocolError

Inherits:
ProtocolError
  • Object
show all
Defined in:
lib/event_state.rb

Overview

Error raised by Machine when a message that is invalid according to the machine’s protocol is received.

Instance Attribute Summary

Attributes inherited from ProtocolError

#action, #data, #machine, #message_name, #state_name

Instance Method Summary collapse

Methods inherited from ProtocolError

#inspect

Constructor Details

#initialize(machine, state_name, message_name, data) ⇒ RecvProtocolError

Returns a new instance of RecvProtocolError.



74
75
76
# File 'lib/event_state.rb', line 74

def initialize machine, state_name, message_name, data
  super machine, state_name, :recv, message_name, data
end