Exception: MassiveClient::Websocket::Errors::UnrecognizedEventError

Inherits:
PolygonWebsocketClientError show all
Defined in:
lib/massiveclient/websocket/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, event)
  super(message)
  @event = event
end

Instance Attribute Details

#eventObject (readonly)

Returns the value of attribute event.



12
13
14
# File 'lib/massiveclient/websocket/errors.rb', line 12

def event
  @event
end