GetPublicKeyCredentialDomException


public final class GetPublicKeyCredentialDomException extends GetPublicKeyCredentialException


During the get-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

GetPublicKeyCredentialDomException(
    @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

GetPublicKeyCredentialDomException

Added in 1.2.0
public GetPublicKeyCredentialDomException(
    @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