androidx.credentials.exceptions


Exceptions

ClearCredentialCustomException

Represents a custom error thrown during a clear flow with CredentialManager.

ClearCredentialException

Represents an error thrown during a clear flow with Credential Manager.

ClearCredentialInterruptedException

During the clear credential flow, this is thrown when some interruption occurs that may warrant retrying or at least does not indicate a purposeful desire to close or tap away from credential manager.

ClearCredentialProviderConfigurationException

During the clear credential flow, this is thrown when configurations are mismatched for the provider, typically indicating the provider dependency is missing in the manifest or some system service is not enabled.

ClearCredentialUnknownException

This is thrown when the clear credential operation failed with no more detailed information.

ClearCredentialUnsupportedException

During the clear credential flow, this is thrown when credential manager is unsupported, typically because the device has disabled it or did not ship with this feature enabled.

CreateCredentialCancellationException

During the create credential flow, this is thrown when a user intentionally cancels an operation.

CreateCredentialCustomException

Represents a custom error thrown during a create flow with CredentialManager.

CreateCredentialException

Represents an error thrown during a create flow with Credential Manager.

CreateCredentialInterruptedException

During the create credential flow, this is thrown when some interruption occurs that may warrant retrying or at least does not indicate a purposeful desire to close or tap away from credential manager.

CreateCredentialNoCreateOptionException

During the create credential flow, this is thrown when no viable creation options were found for the given CreateCredentialRequest.

CreateCredentialProviderConfigurationException

During the create credential flow, this is thrown when configurations are mismatched for the provider, typically indicating the provider dependency is missing in the manifest or some system service is not enabled.

CreateCredentialUnknownException

This is thrown when the create credential operation failed with no more detailed information.

CreateCredentialUnsupportedException

During the create credential flow, this is thrown when credential manager is unsupported, typically because the device has disabled it or did not ship with this feature enabled.

GetCredentialCancellationException

During the get credential flow, this is thrown when a user intentionally cancels an operation.

GetCredentialCustomException

Represents a custom error thrown during a get flow with CredentialManager.

GetCredentialException

Represents an error thrown during a get flow with Credential Manager.

GetCredentialInterruptedException

During the get credential flow, this is thrown when some interruption occurs that may warrant retrying or at least does not indicate a purposeful desire to close or tap away from credential manager.

GetCredentialProviderConfigurationException

During the get credential flow, this is thrown when configurations are mismatched for the provider, typically indicating the provider dependency is missing in the manifest or some system service is not enabled.

GetCredentialUnknownException

This is thrown when the get credential operation failed with no more detailed information.

GetCredentialUnsupportedException

During the get credential flow, this is thrown when credential manager is unsupported, typically because the device has disabled it or did not ship with this feature enabled.

NoCredentialException

During the get credential flow, this is returned when no viable credential is available for the the user.