Exception: Polygonio::Websocket::Errors::UnrecognizedEventError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, event) ⇒ UnrecognizedEventError

Returns a new instance of UnrecognizedEventError.



13
14
15
16
# File 'lib/polygonio/websocket/errors.rb', line 13

def initialize(message, event)
  super(message)
  @event = event
end

Instance Attribute Details

#eventObject (readonly)

Returns the value of attribute event.



11
12
13
# File 'lib/polygonio/websocket/errors.rb', line 11

def event
  @event
end