class

OpenAI::RealtimeBetaServerEventErrorError

Inherits JSON::Serializable < Reference < Object

Details of the error.

Constructors

new(type_value : String = "", code : RealtimeBetaServerEventErrorErrorCode | Nil = nil, message : String = "", param : RealtimeBetaServerEventErrorErrorParam | Nil = nil, event_id : RealtimeBetaServerEventErrorErrorEventId | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code
Source
code=(code : RealtimeBetaServerEventErrorErrorCode | Nil)
Source
event_id
Source
event_id=(event_id : RealtimeBetaServerEventErrorErrorEventId | Nil)
Source
message

A human-readable error message.

Source
message=(message : String)

A human-readable error message.

Source
param
Source
param=(param : RealtimeBetaServerEventErrorErrorParam | Nil)
Source
type_value

The type of error (e.g., "invalid_request_error", "server_error").

Source
type_value=(type_value : String)

The type of error (e.g., "invalid_request_error", "server_error").

Source