Exception: OpenAI::WebSocket::BindingConnectionError Private

Inherits:
Errors::WebSocketConnectionError show all
Defined in:
lib/openai/helpers/websocket/typed_connection.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from Errors::WebSocketConnectionError

#http_status, #url

Attributes inherited from Errors::Error

#cause

Instance Method Summary collapse

Methods inherited from Errors::WebSocketConnectionError

#cause

Constructor Details

#initialize(url:, message: nil, http_status: nil, **_options) ⇒ BindingConnectionError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of BindingConnectionError.



89
90
91
# File 'lib/openai/helpers/websocket/typed_connection.rb', line 89

def initialize(url:, message: nil, http_status: nil, **_options)
  super(url: url, message: message, http_status: http_status)
end