CreatePublicKeyCredentialDomException


public final class CreatePublicKeyCredentialDomException extends CreatePublicKeyCredentialException


During the create-passkey flow, this is thrown when a DOM Exception is thrown, indicating the operation contains a DOMException error type. The fido spec can be found here. The full list of implemented DOMErrors extends from and can be seen at DomError.

Summary

Public constructors

CreatePublicKeyCredentialDomException(
    @NonNull DomError domError,
    CharSequence errorMessage
)

Public methods

final @NonNull DomError

the specific error from the DOMException types defined in the fido spec found here

Public constructors

CreatePublicKeyCredentialDomException

Added in 1.2.0
public CreatePublicKeyCredentialDomException(
    @NonNull DomError domError,
    CharSequence errorMessage
)

Public methods

getDomError

Added in 1.2.0
public final @NonNull DomError getDomError()

the specific error from the DOMException types defined in the fido spec found here