ErrorCode
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Constant Summary
From interface android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
Inherited Method Summary
From class java.lang.Enum
final Object
|
clone()
|
final int |
|
int |
|
final Optional<EnumDesc<ErrorCode>>
|
describeConstable()
|
final boolean |
|
final void |
finalize()
|
final Class<ErrorCode>
|
getDeclaringClass()
|
final int |
hashCode()
|
final String
|
name()
|
final int |
ordinal()
|
String
|
toString()
|
static <T extends Enum<T>>
T
|
|
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
From interface java.lang.constant.Constable
abstract Optional<? extends ConstantDesc>
|
describeConstable()
|
From interface java.lang.Comparable
From interface android.os.Parcelable
abstract int |
describeContents()
|
abstract void |
writeToParcel( Parcel arg0,
int arg1)
|
Enum Values
public static final ErrorCode
ABORT_ERR
The operation was aborted.
public static final ErrorCode
ATTESTATION_NOT_PRIVATE_ERR
The authenticator violates the privacy requirements of the
AttestationStatementType
it is using.
public static final ErrorCode
CONSTRAINT_ERR
A mutation operation in a transaction failed because a constraint was not
satisfied.
public static final ErrorCode
DATA_ERR
Provided data is inadequate.
public static final ErrorCode
ENCODING_ERR
The encoding operation (either encoded or decoding) failed.
public static final ErrorCode
INVALID_STATE_ERR
The object is in an invalid state.
public static final ErrorCode
NETWORK_ERR
A network error occurred.
public static final ErrorCode
NOT_ALLOWED_ERR
The request is not allowed by the user agent or the platform in the current context,
possibly because the user denied permission.
public static final ErrorCode
NOT_SUPPORTED_ERR
The operation is not supported.
public static final ErrorCode
SECURITY_ERR
The operation is insecure.
public static final ErrorCode
TIMEOUT_ERR
public static final ErrorCode
UNKNOWN_ERR
The operation failed for an unknown transient reason.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["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 a public enum that defines error codes for WebAuthn operations, based on the Web IDL Error Names."],["It implements `Parcelable` for passing error information across processes and includes a nested exception for unsupported codes."],["Several standard error codes are provided, such as `ABORT_ERR`, `TIMEOUT_ERR`, `NOT_ALLOWED_ERR`, and others to cover common WebAuthn issues."],["These error codes help developers handle potential problems during user authentication and registration processes with FIDO2."]]],["`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"]]