Create a new HTTPQueryException, attaching a response body, an error and an HTTP status code.
Create a new HTTPQueryException, without attaching anything.
The HTTP code that was received.
The message of any thrown exception, if the query failed.
The response body that was received.
Exception, to be thrown when a web request, such as an API query, failed.