TokenRefreshError
Raised when the SDK attempts to refresh an expiring access token (SAT) and the refresh endpoint returns an error or unparsable response. After this fires, the session continues using the current token until expiry; once that lapses the connection will be torn down. Catching this is your cue to obtain a fresh token out-of-band.
Extends
Error
Constructors
Constructor
Parameters
message
Human-readable error message.
originalError
Underlying error returned by the token-refresh endpoint.
Returns
TokenRefreshError
Properties
originalError
Underlying error returned by the token-refresh endpoint.