# androidx.credentials.exceptions.restorecredential

# androidx.credentials.exceptions.restorecredential

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/credentials/exceptions/restorecredential/package-summary "View this page in Java")

## Exceptions

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [CreateRestoreCredentialDomException](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/restorecredential/CreateRestoreCredentialDomException) | During the create restore credential flow, this is thrown when a DOM Exception is thrown, indicating the operation contains a DOMException error type.                 |
| [E2eeUnavailableException](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/restorecredential/E2eeUnavailableException)                       | During the Restore Credential creation, this is thrown when the developer requests backup to cloud but the user device did not enable end-to-end-encryption or backup. |