Exception: Polygonio::Websocket::Errors::UnrecognizedEventError
- Inherits:
-
PolygonWebsocketClientError
- Object
- StandardError
- PolygonWebsocketClientError
- Polygonio::Websocket::Errors::UnrecognizedEventError
- Defined in:
- lib/polygonio/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.
13 14 15 16 |
# File 'lib/polygonio/websocket/errors.rb', line 13 def initialize(, event) super() @event = event end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
11 12 13 |
# File 'lib/polygonio/websocket/errors.rb', line 11 def event @event end |