Exception: OpenAI::Errors::LiveProtocolError

Inherits:
WebSocketProtocolError show all
Defined in:
lib/openai/helpers/live/websocket.rb,
sig/openai/helpers/live/websocket.rbs

Instance Attribute Summary

Attributes inherited from Error

#cause

Instance Method Summary collapse

Constructor Details

#initialize ⇒ LiveProtocolError

Returns a new instance of LiveProtocolError.



21
# File 'lib/openai/helpers/live/websocket.rb', line 21

def initialize = super("Invalid Live WebSocket event.")