You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The config object contains details about the request that caused the error. This includes URL, headers, method, and other configurations. Access to these details allows for more informed error handling, such as logging the exact request parameters that led to the failure.
Sometimes, the handling of errors may depend on specific request configurations. For example, you might want to retry certain requests differently based on their config, or provide different fallback mechanisms depending on the request type.
The text was updated successfully, but these errors were encountered:
MattCCC
changed the title
Pass config to onError interceptors
[Feature] Pass config to onError interceptors
Sep 22, 2024
The config object contains details about the request that caused the error. This includes URL, headers, method, and other configurations. Access to these details allows for more informed error handling, such as logging the exact request parameters that led to the failure.
Sometimes, the handling of errors may depend on specific request configurations. For example, you might want to retry certain requests differently based on their config, or provide different fallback mechanisms depending on the request type.
The text was updated successfully, but these errors were encountered: