Interface ErrorEvent

Fired when an error occurs.

interface ErrorEvent {
    date: Date;
    error: string;
    errorObject: THEOplayerError;
    type: "error";
}

Hierarchy (view full)

Properties

date: Date

The creation date of the event.

error: string

The error that occurred.

Deprecated

use errorObject.message instead

errorObject: THEOplayerError

An error object containing additional information about the error.

type: "error"

The type of the event.

Generated using TypeDoc