androidx.credentials.providerevents.exception


Exceptions

ExportCredentialsException

Represents an error thrown during an export flow.

ExportCredentialsInvalidJsonException

The credential json cannot be read because it is written in invalid format

ExportCredentialsSystemErrorException

Used by the system when the request fails to reach the provider

ExportCredentialsUnknownCallerException

The credential json cannot be trusted because the caller is unknown

ExportCredentialsUnknownErrorException

The credential json cannot be stored due to unknown error

GetCredentialTransferCapabilitiesException

Represents an error thrown when the provider is requested to return the transfer capabilities.

GetCredentialTransferCapabilitiesInvalidJsonException

The request json cannot be read because it is written in invalid format

GetCredentialTransferCapabilitiesSystemErrorException

Used by the system when the request fails to reach the provider

GetCredentialTransferCapabilitiesUnknownCallerException

The credential json cannot be trusted because the caller is unknown

GetCredentialTransferCapabilitiesUnknownErrorException

The request cannot be processed due to unknown error

ImportCredentialsCancellationException

During the import credentials flow, this is thrown when a user intentionally cancels an operation.

ImportCredentialsException

Represents an error thrown during the import flow.

ImportCredentialsInvalidJsonException

The request json cannot be read because it is written in invalid format

ImportCredentialsProviderConfigurationException

During the import credentials flow, this is thrown if a ProviderEventsApiProvider was not found to handle the request.

ImportCredentialsSystemErrorException

Used by the system when the request fails to reach the provider

ImportCredentialsUnknownCallerException

The request cannot be trusted because the caller is unknown

ImportCredentialsUnknownErrorException

The credential json cannot be returned due to unknown error

RegisterExportException

Represents an error thrown during the export registration

RegisterExportProviderConfigurationException

During the register export flow, this is thrown if the provider dependency is missing in the manifest

RegisterExportUnknownErrorException

The provider cannot be registered for export for unknown reasons