class Faraday::NilStatusError

Raised by Faraday::Response::RaiseError in case of a nil status in response.

Public Class Methods

Calls superclass method Faraday::Error::new
# File lib/faraday/error.rb, line 144
def initialize(exc, response = nil)
  exc_msg_and_response!(exc, response)
  super('http status could not be derived from the server response')
end