Table of Contents

Class RealtimeEventError

Namespace
OpenAI.Realtime
Assembly
OpenAI-DotNet.dll
public sealed class RealtimeEventError : BaseRealtimeEvent, IServerEvent, IRealtimeEvent
Inheritance
RealtimeEventError
Implements
Inherited Members

Properties

Error

[JsonInclude]
[JsonPropertyName("error")]
public Error Error { get; }

Property Value

Error

EventId

The unique ID of the server event.

[JsonInclude]
[JsonPropertyName("event_id")]
public override string EventId { get; }

Property Value

string

Type

[JsonInclude]
[JsonPropertyName("type")]
public override string Type { get; protected set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

implicit operator Exception(RealtimeEventError)

public static implicit operator Exception(RealtimeEventError error)

Parameters

error RealtimeEventError

Returns

Exception