ErrorCode
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
ErrorCode is an enum that extends Enum and implements Parcelable, representing error codes referenced by the WebAuthn specification.
It includes a nested class, ErrorCode.UnsupportedErrorCodeException, for handling unsupported error codes.
The enum defines various error codes such as ABORT_ERR, NETWORK_ERR, SECURITY_ERR, and TIMEOUT_ERR, each with a specific meaning related to operation failures or issues.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[],["`ErrorCode` is an enum extending `Enum` and implementing `Parcelable`, referencing WebAuthn error codes. It includes a nested `UnsupportedErrorCodeException` class. It provides constants like `ABORT_ERR`, `ATTESTATION_NOT_PRIVATE_ERR`, `CONSTRAINT_ERR`, `DATA_ERR`, `ENCODING_ERR`, `INVALID_STATE_ERR`, `NETWORK_ERR`, `NOT_ALLOWED_ERR`, `NOT_SUPPORTED_ERR`, `SECURITY_ERR`, `TIMEOUT_ERR`, and `UNKNOWN_ERR`. These constants represent specific error conditions encountered during WebAuthn operations. The class supports methods for comparisons, object state management, and parceling.\n"]]