Stay organized with collections Save and categorize content based on your preferences.

AuthPromptErrorException

public final class AuthPromptErrorException extends Exception


Thrown when an unrecoverable error has been encountered and authentication has stopped.

Summary

Public constructors

AuthPromptErrorException(
    int errorCode,
    @NonNull CharSequence errorMessage
)

Public methods

final int

An integer ID associated with the error.

final @NonNull CharSequence

A human-readable string that describes the error.

Public constructors

AuthPromptErrorException

public AuthPromptErrorException(
    int errorCode,
    @NonNull CharSequence errorMessage
)
Parameters
int errorCode

An integer ID associated with the error.

@NonNull CharSequence errorMessage

A human-readable string that describes the error.

Public methods

getErrorCode

public final int getErrorCode()

An integer ID associated with the error.

getErrorMessage

public final @NonNull CharSequence getErrorMessage()

A human-readable string that describes the error.