Exception: RestClient::RequestFailed
- Inherits:
-
ExceptionWithResponse
- Object
- RuntimeError
- Exception
- ExceptionWithResponse
- RestClient::RequestFailed
- Defined in:
- lib/restclient/exceptions.rb
Overview
The request failed with an error code not managed by the code
Instance Attribute Summary
Attributes inherited from Exception
Instance Method Summary collapse
Methods inherited from Exception
#http_body, #http_code, #initialize, #inspect
Constructor Details
This class inherits a constructor from RestClient::Exception
Instance Method Details
#message ⇒ Object
38 39 40 |
# File 'lib/restclient/exceptions.rb', line 38 def "HTTP status code #{http_code}" end |
#to_s ⇒ Object
42 43 44 |
# File 'lib/restclient/exceptions.rb', line 42 def to_s end |