InvalidCredentialException

class InvalidCredentialException(message: String = "Invalid credential", cause: Throwable? = null) : Exception

Exception thrown when credentials are invalid or cannot be used.

This exception indicates that the provided credentials are invalid, expired, or cannot be used for authentication. Common scenarios include:

  • Invalid PIN or password

Parameters

message

The error message describing why the credential is invalid

cause

The underlying cause of the exception, if any

Constructors

Link copied to clipboard
constructor(message: String = "Invalid credential", cause: Throwable? = null)