# androidx.credentials.exceptions.domerrors

# androidx.credentials.exceptions.domerrors

*** ** * ** ***

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

## Classes

|---------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AbortError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/AbortError)                                 | During the create public key credential flow, this is thrown when an authenticator response exception contains an abort-err from the fido spec, indicating the operation was aborted.                                                                                                                 |
| [ConstraintError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/ConstraintError)                       | During the create public key credential flow, this is thrown when an authenticator response exception contains a constraint_err from the fido spec, indicating that some mutation operation occurring during a transaction failed by not satisfying constraints.                                      |
| [DataCloneError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/DataCloneError)                         | During the create public key credential flow, this is thrown when an authenticator response exception contains a data_clone_err from the fido spec, indicating the object cannot be cloned.                                                                                                           |
| [DataError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/DataError)                                   | During the create public key credential flow, this is thrown when an authenticator response exception contains a data_err code from the fido spec, indicating inadequate data provided.                                                                                                               |
| [DomError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/DomError)                                     | While CredentialManager flows use Exceptions, in some cases, the exceptions are focused on a range of widely used, uncommonly named 'errors'.                                                                                                                                                         |
| [EncodingError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/EncodingError)                           | During the create public key credential flow, this is thrown when an authenticator response exception contains an encoding_err code from the fido spec, indicating failure in encoding or decoding operations.                                                                                        |
| [HierarchyRequestError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/HierarchyRequestError)           | During the create public key credential flow, this is thrown when an authenticator response exception contains a hierarchy_request_err from the fido spec, indicating the operation would yield in an incorrect node tree.                                                                            |
| [InUseAttributeError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/InUseAttributeError)               | During the create public key credential flow, this is thrown when an authenticator response exception contains an inuse_attribute_err from the fido spec, indicating that an attribute is in used by another element.                                                                                 |
| [InvalidCharacterError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/InvalidCharacterError)           | During the create public key credential flow, this is thrown when an authenticator response exception contains an invalid_character_err from the fido spec, indicating a string contains invalid characters.                                                                                          |
| [InvalidModificationError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/InvalidModificationError)     | During the create public key credential flow, this is thrown when an authenticator response exception contains an invalid_modification_err from the fido spec, indicating an object was incorrectly modified.                                                                                         |
| [InvalidNodeTypeError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/InvalidNodeTypeError)             | During the create public key credential flow, this is thrown when an authenticator response exception contains an invalid_node_type_err from the fido spec, indicating tthe supplied node is incorrect or has an incorrect ancestor for this operation.                                               |
| [InvalidStateError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/InvalidStateError)                   | During the create public key credential flow, this is thrown when an authenticator response exception contains a invalid_state_err code from the fido spec, indicating the object reached an invalid state.                                                                                           |
| [NamespaceError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/NamespaceError)                         | During the create public key credential flow, this is thrown when an authenticator response exception contains a namespace_err from the fido spec, indicating the operation is not allowed by namespaces in XML.                                                                                      |
| [NetworkError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/NetworkError)                             | During the create public key credential flow, this is thrown when an authenticator response exception contains a network_err code from the fido spec, indicating a network error occurred.                                                                                                            |
| [NoModificationAllowedError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/NoModificationAllowedError) | During the create public key credential flow, this is thrown when an authenticator response exception contains a no_modification_allowed_err from the fido spec, indicating the object can not be modified.                                                                                           |
| [NotAllowedError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/NotAllowedError)                       | During the create public key credential flow, this is thrown when an authenticator response exception contains a not_allowed_err code from the fido spec, indicating a request is not allowed by the user agent or the platform in the current context - possibly because the user denied permission. |
| [NotFoundError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/NotFoundError)                           | During the create public key credential flow, this is thrown when an authenticator response exception contains a not_found_err from the fido spec, indicating the object could not be found in the current flow.                                                                                      |
| [NotReadableError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/NotReadableError)                     | During the create public key credential flow, this is thrown when an authenticator response exception contains a NotReadableError from fido, which indicates there was some I/O read operation that failed.                                                                                           |
| [NotSupportedError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/NotSupportedError)                   | During the create public key credential flow, this is thrown when an authenticator response exception contains a not_supported_err code from the fido spec, indicating the operation is not supported.                                                                                                |
| [OperationError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/OperationError)                         | During the create public key credential flow, this is thrown when an authenticator response exception contains and operation_err from the fido spec, indicating the operation failed for an operation-specific reason.                                                                                |
| [OptOutError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/OptOutError)                               | During the create public key credential flow, this is thrown when an authenticator response exception contains and opt_out_error from the fido spec, indicating the user opted out of the process.                                                                                                    |
| [QuotaExceededError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/QuotaExceededError)                 | During the create public key credential flow, this is thrown when an authenticator response exception contains a quota_exceeded_err from the fido spec, indicating the quota has been exceeded.                                                                                                       |
| [ReadOnlyError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/ReadOnlyError)                           | During the create public key credential flow, this is thrown when an authenticator response exception contains a read_only_err from the fido spec, indicating a mutating operation was attempted in a "readonly" transaction.                                                                         |
| [SecurityError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/SecurityError)                           | During the create public key credential flow, this is thrown when an authenticator response exception contains a security_err code from the fido spec, indicating the operation is not secure.                                                                                                        |
| [SyntaxError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/SyntaxError)                               | During the create public key credential flow, this is thrown when an authenticator response exception contains a syntax_err from the fido spec, indicating the string did not match the expected pattern.                                                                                             |
| [TimeoutError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/TimeoutError)                             | During the create public key credential flow, this is thrown when an authenticator response exception contains a timeout_err code from the fido spec, indicating the operation timed out.                                                                                                             |
| [TransactionInactiveError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/TransactionInactiveError)     | During the create public key credential flow, this is thrown when an authenticator response exception contains and transaction_inactive_err from the fido spec, indicating a request was placed against a transaction which is currently not active.                                                  |
| [UnknownError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/UnknownError)                             | This is thrown when the create public key credential operation failed with no more detailed information.                                                                                                                                                                                              |
| [VersionError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/VersionError)                             | During the create public key credential flow, this is thrown when an authenticator response exception contains a version_err from the fido spec, indicating an attempt was made to open a database using a lower version than the existing version.                                                   |
| [WrongDocumentError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/WrongDocumentError)                 | During the create public key credential flow, this is thrown when an authenticator response exception contains a wrong_document_err from the fido spec, indicating the object is the wrong document.                                                                                                  |