Exception: OpenAI::Errors::ResponsesClientEventError

Inherits:
Error
  • Object
show all
Defined in:
lib/openai/helpers/responses_websocket/errors.rb,
sig/openai/helpers/responses_websocket/extensions.rbs

Overview

Raised before a malformed client event can be written.

Instance Method Summary collapse

Constructor Details

#initializeResponsesClientEventError

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



39
40
41
# File 'lib/openai/helpers/responses_websocket/errors.rb', line 39

def initialize
  super("Invalid Responses WebSocket client event.")
end

Instance Method Details

#causeException?

Returns:

  • (Exception, nil)


36
# File 'lib/openai/helpers/responses_websocket/errors.rb', line 36

def cause = nil