CreateRestoreCredentialDomException


public final class CreateRestoreCredentialDomException extends CreateCredentialException


During the create restore credential 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

CreateRestoreCredentialDomException(
    @NonNull DomError domError,
    @NonNull CharSequence errorMessage
)

Public methods

final @NonNull DomError

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

Public constructors

CreateRestoreCredentialDomException

Added in 1.5.0-alpha03
public CreateRestoreCredentialDomException(
    @NonNull DomError domError,
    @NonNull CharSequence errorMessage
)

Public methods

getDomError

Added in 1.5.0-alpha03
public final @NonNull DomError getDomError()

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