ErrorCode

public final enum ErrorCode extends Enum<ErrorCode>
implements Parcelable

Error codes that are referenced by WebAuthn spec.

See Web IDL Error Names

Nested Class Summary

class ErrorCode.UnsupportedErrorCodeException Exception thrown when an unsupported or unrecognized error code is encountered. 

Inherited Constant Summary

Inherited Method Summary

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

The operation timed out.

public static final ErrorCode UNKNOWN_ERR

The operation failed for an unknown transient reason.