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
No effort is made to check, e.g., for status codes, so when the error response is a valid JSON, extracting that JSON doesn’t throw. What does throw is decoding, because the shape is wrong, so instead of `FetchError you get `DecodeError.
Possible remedies:
Check for the network status
Provide a separate JSON decoder for errors
The text was updated successfully, but these errors were encountered:
No effort is made to check, e.g., for status codes, so when the error response is a valid JSON, extracting that JSON doesn’t throw. What does throw is decoding, because the shape is wrong, so instead of
`FetchError
you get`DecodeError
.Possible remedies:
The text was updated successfully, but these errors were encountered: