interface ErrorEvent {
    code: ErrorCode;
    data?: {
        [key: string]: any;
    };
    message?: string;
    name: string;
    timestamp: number;
    troubleShootLink: string;
    type: PlayerEvent;
}

Hierarchy (view full)

Properties

code: ErrorCode

The error code used to identify the occurred error

data?: {
    [key: string]: any;
}

Additional data

Type declaration

  • [key: string]: any
message?: string

The message associated with the error

name: string

The name of the error

timestamp: number

The time at which this event was fired

troubleShootLink: string

A link to a detailed troubleshooting guide for the current error event.

Event type, e.g. 'play'