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
Robert Brodie edited this page Apr 27, 2024
·
1 revision
When making requests, it's possible to receive an HTTPError. There have been various discussions and questions related to this, so we wanted to provide a concrete example.
Example
A real-world example is that of trying to fetch an issue that does not exist. To handle this, we can rescue the exception and inspect it to see what the response is.