Exception: SODA::RequestFailed
- Inherits:
-
ExceptionWithResponse
- Object
- RuntimeError
- Exception
- ExceptionWithResponse
- SODA::RequestFailed
- Defined in:
- lib/soda/exceptions.rb
Overview
The request failed with an error code not managed by the code
Instance Attribute Summary
Attributes inherited from Exception
#data, #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 SODA::Exception
Instance Method Details
#default_message ⇒ Object
121 122 123 |
# File 'lib/soda/exceptions.rb', line 121 def "HTTP status code #{http_code}" end |
#to_s ⇒ Object
125 126 127 |
# File 'lib/soda/exceptions.rb', line 125 def to_s end |