Thrown if the HTTP request returned an unsuccessful status code. Generally 2xx are sucessful, but your application may have a different meaning of 'success'.

no subtypes hierarchy

Initializer
HttpError(Integer status, String url, String method = ...)
Parameters:
  • status

    Non sucess http status.

  • url

    HTTP Request url.

  • method = "GET"

    HTTP Request method.

Attributes
methodshared String method

HTTP Request method.

statusshared Integer status

Non sucess http status.

urlshared String url

HTTP Request url.

Inherited Attributes
Attributes inherited from: Object
hash, string
Attributes inherited from: RequestException
Attributes inherited from: Throwable
cause, message, string, suppressed
Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: Throwable
addSuppressed, printStackTrace