Class | HTTParty::ResponseError |
In: |
lib/httparty/exceptions.rb
|
Parent: | StandardError |
@abstract Exceptions which inherit from ResponseError contain the Net::HTTP response object accessible via the {response} method.
response | [R] | Returns the response of the last request @return [Net::HTTPResponse] A subclass of Net::HTTPResponse, e.g. Net::HTTPOK |
Instantiate an instance of ResponseError with a Net::HTTPResponse object @param [Net::HTTPResponse]