Readonly
categoryAn ErrorCategory
that indicates the category of the error that has occurred.
- Equivalent to ErrorCategory.fromCode(error.code)
Readonly
causeThe underlying cause of this error, if known.
Readonly
codeAn ErrorCode that indicates the type of error that has occurred.
Optional
Readonly
responseThe body contained in the HTTP response.
- Only available when ContentProtectionError.code is ErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERROR or ErrorCode.CONTENT_PROTECTION_LICENSE_ERROR.
Optional
Readonly
statusThe status code from the HTTP response.
- Only available when ContentProtectionError.code is ErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERROR or ErrorCode.CONTENT_PROTECTION_LICENSE_ERROR.
Optional
Readonly
statusThe status text from the HTTP response.
- Only available when ContentProtectionError.code is ErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERROR or ErrorCode.CONTENT_PROTECTION_LICENSE_ERROR.
Optional
Readonly
systemThe internal error code from the CDM.
- Only available when ContentProtectionError.code is ErrorCode.CONTENT_PROTECTION_INTERNAL_ERROR.
Optional
Readonly
urlThe URL that was used in the request.
- Only available when ContentProtectionError.code is ErrorCode.CONTENT_PROTECTION_CERTIFICATE_ERROR or ErrorCode.CONTENT_PROTECTION_LICENSE_ERROR.
Generated using TypeDoc
An error related to content protection.