Interface TextTrackError

An error thrown by a text track.

interface TextTrackError {
    category: ErrorCategory;
    cause: undefined | Error;
    code: TextTrackErrorCode;
    status: number;
    url: string;
}

Hierarchy (view full)

Properties

category: ErrorCategory

An ErrorCategory that indicates the category of the error that has occurred.

Remarks


- Equivalent to ErrorCategory.fromCode(error.code)

cause: undefined | Error

The underlying cause of this error, if known.

An ErrorCode that indicates the type of error that has occurred.

status: number

The status code from the HTTP response.

url: string

The URL of the (sideloaded) text track.

Generated using TypeDoc