Network Errors Handling¶
If a network request fails, Grab raises
There are two situations when a network error exception will raise:
- the server broke connection or the connection timed out
- the response had any HTTP status code that is not 2XX or 404
Note particularly that 404 is a valid status code, and does not cause an exception to be raised.