# Class: ProtectionErrors

## ProtectionErrors

#### new ProtectionErrors()

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 36

### Members

#### KEY_SESSION_CREATED_ERROR_CODE

  Error code returned when key session has not been successfully created

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 96

#### KEY_STATUS_CHANGED_EXPIRED_ERROR_CODE

  Error code returned when license validity has expired

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 84

#### KEY_SYSTEM_ACCESS_DENIED_ERROR_CODE

  Error code returned when key system access is denied

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 92

#### MEDIA_KEY_MESSAGE_ERROR_CODE

  Error code returned when an error occured in keymessage event for ProtectionModel_01b

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 72

#### MEDIA_KEY_MESSAGE_LICENSER_ERROR_CODE

  Error code returned when license request failed after a keymessage event has been triggered

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 100

#### MEDIA_KEY_MESSAGE_NO_CHALLENGE_ERROR_CODE

  Error code returned when challenge is invalid in keymessage event (event triggered by CDM)

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 76

#### MEDIA_KEY_MESSAGE_NO_LICENSE_SERVER_URL_ERROR_CODE

  Error code returned when no licenser url is defined

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 88

#### MEDIA_KEYERR_CLIENT_CODE

  Error code returned by keyerror api for ProtectionModel_01b

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 51

#### MEDIA_KEYERR_CODE

  Generid key Error code

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 43

#### MEDIA_KEYERR_DOMAIN_CODE

  Error code returned by keyerror api for ProtectionModel_01b

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 67

#### MEDIA_KEYERR_HARDWARECHANGE_CODE

  Error code returned by keyerror api for ProtectionModel_01b

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 63

#### MEDIA_KEYERR_OUTPUT_CODE

  Error code returned by keyerror api for ProtectionModel_01b

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 59

#### MEDIA_KEYERR_SERVICE_CODE

  Error code returned by keyerror api for ProtectionModel_01b

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 55

#### MEDIA_KEYERR_UNKNOWN_CODE

  Error code returned by keyerror api for ProtectionModel_01b

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 47

#### SERVER_CERTIFICATE_UPDATED_ERROR_CODE

  Error code returned when License server certificate has not been successfully updated

  Source:
    - streaming/protection/errors/ProtectionErrors.js, line 80

#### Search results