Emitted when a player error occurred.

interface PlayerErrorEvent {
    code?: number;
    data?: Record<string, any>;
    message: string;
    name: string;
    timestamp: number;
}

Hierarchy (view full)

Properties

code?: number

Error/Warning's code number.

data?: Record<string, any>

Underlying data emitted with the error or warning.

message: string

Error/Warning's localized message.

name: string

This event name as it is on the native side.

timestamp: number

The UNIX timestamp in which this event happened.