Exception: ActiveCampaign::NilStatusError
- Inherits:
-
ServerError
- Object
- StandardError
- Error
- ServerError
- ActiveCampaign::NilStatusError
- Defined in:
- lib/active_campaign/errors.rb
Overview
Wraps Faraday::NilStatusError
Instance Method Summary collapse
-
#initialize(exc, response = nil) ⇒ NilStatusError
constructor
A new instance of NilStatusError.
Constructor Details
#initialize(exc, response = nil) ⇒ NilStatusError
Returns a new instance of NilStatusError.
167 168 169 170 |
# File 'lib/active_campaign/errors.rb', line 167 def initialize(exc, response = nil) exc_msg_and_response!(exc, response) super('http status could not be derived from the server response') end |