Exception: MassiveClient::Websocket::Errors::UnrecognizedEventError
- Inherits:
-
PolygonWebsocketClientError
- Object
- StandardError
- PolygonWebsocketClientError
- MassiveClient::Websocket::Errors::UnrecognizedEventError
- Defined in:
- lib/massiveclient/websocket/errors.rb
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Method Summary collapse
-
#initialize(message, event) ⇒ UnrecognizedEventError
constructor
A new instance of UnrecognizedEventError.
Constructor Details
#initialize(message, event) ⇒ UnrecognizedEventError
Returns a new instance of UnrecognizedEventError.
14 15 16 17 |
# File 'lib/massiveclient/websocket/errors.rb', line 14 def initialize(, event) super() @event = event end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
12 13 14 |
# File 'lib/massiveclient/websocket/errors.rb', line 12 def event @event end |