Error class representing a Custom Token Exchange error. Extends the SdkError class.
SdkError
This error is thrown when a Custom Token Exchange operation fails, such as validation errors or server-side token exchange failures.
Auth0 Custom Token Exchange Documentation
Constructs a new CustomTokenExchangeError instance.
CustomTokenExchangeError
The error code.
The error message.
Optional
The OAuth2 cause of the error.
The underlying OAuth2 error that caused this error (if applicable).
The error code associated with the custom token exchange error.
Error class representing a Custom Token Exchange error. Extends the
SdkErrorclass.This error is thrown when a Custom Token Exchange operation fails, such as validation errors or server-side token exchange failures.
See
Auth0 Custom Token Exchange Documentation