Interface ErrorEvent

Fired when an error occurs.

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

Hierarchy (view full)


date: Date

The creation date of the event.

error: string

The error that occurred.


use errorObject.message instead

errorObject: THEOplayerError

An error object containing additional information about the error.

type: "error"

The type of the event.