Package com.stytch.sdk.common.errors
Types
An error class representing non-schema error that occurs in Stytch API
An error class representing a schema error that occurs in Stytch API
An error class that occurs when Stytch SDK cannot reach the API
Thrown when biometric authentication has failed, providing a reason if available
Thrown when a challenge signing (biometrics, passkeys) has failed
A type of error that can occur during deeplink handling
Thrown when we attempted to handle a deeplink, but no token was found
Thrown when we were passed an unknown deeplink token type
A base error class for all errors returned by the Stytch SDK
Thrown when we couldn't create a code challenge on device
Thrown when there was an error decrypting data from persistent storage
Thrown when all else fails. We should audit our usage of this and see if it makes sense to create classes for these
Thrown when the Google OneTap client or nonce is missing
Thrown when the keystore is unavailable, but the developer did not pass allowFallbackToCleartext=true
Thrown when the Google OneTap authorization credential was missing an id_token
Thrown when we couldn't find a code verifier on device
Thrown when we are unable to retrieve a biometric key
Thrown when there are no biometric registrations present on the device
Thrown when there is no current session persisted on device
Thrown when you attempt to perform a passkey flow on a device that does not support passkeys
A base class representing SDK specific errors or exceptions that may occur. This class should not be used directly, rather we should be creating implementations for each of the known/expected errors we return.
Thrown when you try to use the SDK before it has been configured
An error that occurs when an SDK method is called with invalid input