Thrown whenever a HTTP error occurs. Some HTTP errors are handled in the library when they're expected.
The body that was used for the request, as a string.
The HTTP method that was used for the request.
The HTTP status code of the error.
The URL that was requested.