LogoLogo
Github
  • 👋Welcome to Android-Credential-Manager Docs
  • 🖐️Getting Started
    • 🔧Installation
    • 📃Digitial Asset Linking
  • ➕Creating Credentials
    • Overview
    • Saving Username and Passwords
    • Creating a Passkey
    • Error Handling
  • 🧑‍💻Login Users
    • Overview
    • UserName and Password
    • Passkeys
    • Google Sign In
    • Error Handling
    • Performance Improvements
Powered by GitBook

2025 GuhanSenSam

On this page
  • No Create Options Available
  • User Cancelled The Operation
  • Operation was interrupted can be retried
  1. Creating Credentials

Error Handling

Handle errors when creating a new credential

No Create Options Available

This error is raised when the user has not signed into a google account on their device and thus credential manager cannot find any account to save the credentials to.

User Cancelled The Operation

Thrown when an user cancels the create credential operation by either pressing the back button or closing the bottom card. In practice this error can be caught and ignored.

Operation was interrupted can be retried

Thrown when there was an internal error when saving the credential such as loss of internet connection or some other system error. In this case it is suggested that you retry the operation either with explicit notification to the user or implicitly.

PreviousCreating a PasskeyNextOverview

Last updated 3 months ago

➕