Exception: Faraday::NilStatusError
- Inherits:
-
ServerError
- Object
- StandardError
- Error
- ServerError
- Faraday::NilStatusError
- Defined in:
- lib/faraday/error.rb
Overview
Raised by Faraday::Response::RaiseError in case of a nil status in response.
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(_exc, response: nil) ⇒ NilStatusError
constructor
A new instance of NilStatusError.
Methods inherited from Error
Constructor Details
#initialize(_exc, response: nil) ⇒ NilStatusError
Returns a new instance of NilStatusError.
88 89 90 91 |
# File 'lib/faraday/error.rb', line 88 def initialize(_exc, response: nil) = 'http status could not be derived from the server response' super(, response) end |