Exception: RestMan::RequestFailed
- Inherits:
-
ExceptionWithResponse
- Object
- RuntimeError
- Exception
- ExceptionWithResponse
- RestMan::RequestFailed
- Defined in:
- lib/restman/exceptions/request_failed.rb
Overview
The request failed with an error code not managed by the code
Instance Attribute Summary
Attributes inherited from Exception
#message, #original_exception, #response
Instance Method Summary collapse
Methods inherited from Exception
#http_body, #http_code, #http_headers, #initialize
Constructor Details
This class inherits a constructor from RestMan::Exception
Instance Method Details
#default_message ⇒ Object
6 7 8 |
# File 'lib/restman/exceptions/request_failed.rb', line 6 def "HTTP status code #{http_code}" end |
#to_s ⇒ Object
10 11 12 |
# File 'lib/restman/exceptions/request_failed.rb', line 10 def to_s end |