Exception: OpenAI::Models::Responses::RequestError

Inherits:
SessionError show all
Defined in:
sig/openai/helpers/responses_websocket/session.rbs

Instance Attribute Summary collapse

Attributes inherited from Errors::Error

#cause

Instance Method Summary collapse

Methods inherited from SessionError

#cause

Constructor Details

#initializeRequestError

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 RequestError.

Parameters:

  • event (connection_server_event)


18
# File 'sig/openai/helpers/responses_websocket/session.rbs', line 18

def initialize: (connection_server_event event) -> void

Instance Attribute Details

#eventconnection_server_event (readonly)

Returns the value of attribute event.

Returns:

  • (connection_server_event)


15
16
17
# File 'sig/openai/helpers/responses_websocket/session.rbs', line 15

def event
  @event
end