Interface THEOplayerError

An error that is thrown by THEOplayer.

interface THEOplayerError {
    category: ErrorCategory;
    cause: undefined | Error;
    code: ErrorCode;
}

Hierarchy (view full)

Properties

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.

code: ErrorCode

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

Generated using TypeDoc