class

OpenAI::RealtimeServerEventErrorError

Inherits JSON::Serializable < Reference < Object

Details of the error.

Constructors

new(type_value : String = "", code : RealtimeServerEventErrorErrorCode | Nil = nil, message : String = "", param : RealtimeServerEventErrorErrorParam | Nil = nil, event_id : RealtimeServerEventErrorErrorEventId | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code
Source
code=(code : RealtimeServerEventErrorErrorCode | Nil)
Source
event_id
Source
event_id=(event_id : RealtimeServerEventErrorErrorEventId | Nil)
Source
message

A human-readable error message.

Source
message=(message : String)

A human-readable error message.

Source
param
Source
param=(param : RealtimeServerEventErrorErrorParam | 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