ClearCredentialCustomException


class ClearCredentialCustomException : ClearCredentialException


Represents a custom error thrown during a clear flow with CredentialManager.

If you get this custom exception, you should match its type against exception constants defined in any third-party sdk with which you used to make the androidx.credentials.ClearCredentialStateRequest, and then handle it according to the sdk recommendation.

Summary

Public constructors

Public properties

open String

a string that indicates the type of the credential exception

Inherited properties

From kotlin.Throwable

Public constructors

ClearCredentialCustomException

Added in 1.2.0
ClearCredentialCustomException(
    type: String,
    errorMessage: CharSequence? = null
)

Public properties

type

Added in 1.2.0
open val typeString

a string that indicates the type of the credential exception