Details of the error.

interface Error {
    code?: null | string;
    event_id?: null | string;
    message: string;
    param?: null | string;
    type: string;
}

Properties

code?: null | string

Error code, if any.

event_id?: null | string

The event_id of the client event that caused the error, if applicable.

message: string

A human-readable error message.

param?: null | string

Parameter related to the error, if any.

type: string

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