RealtimeServerEventError interface

Returned when an error occurs, which could be a client problem or a server problem. Most errors are recoverable and the session will stay open, we recommend to implementors to monitor and log error messages by default.

Properties

error

Details of the error.

event_id

The unique ID of the server event.

type

The event type, must be error.

Property Details

error

Details of the error.

error: RealtimeServerEventErrorError

Property Value

event_id

The unique ID of the server event.

event_id: string

Property Value

string

type

The event type, must be error.

type: "error"

Property Value

"error"