Error code (see static constants on this class for possible values).
Exception that triggered this error, if present.
Provided form data is invalid, e.g. email is too long or captcha is expired.
Credentials are valid, but the new password provided in response to the NEW_PASSWORD_REQUIRED
error doesn't meet the security requirements.
Credentials are valid, but the session can be created only after changing the current password. This usually happens after a server-side password reset has been initiated for security reasons.
Credentials are invalid. That could mean empty or invalid email or password or otherwise incorrect auth data.
Provided email is already taken. Applies to customer registration only.
Any other or internal error that interrupted authentication.
Available class member validators.
Create .stack property on a target object
Generated using TypeDoc
Base error class for all authentication-related errors in the APIs that can be used both server and client-side. If you're building your own API client with our SDK, you should consider using this class for similar purposes.