Exception: ActiveCampaignRb::NilStatusError
- Inherits:
-
ServerError
- Object
- RuntimeError
- Error
- ServerError
- ActiveCampaignRb::NilStatusError
- Defined in:
- lib/active_campaign_rb/errors.rb
Overview
Wraps Faraday::NilStatusError
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.
160 161 162 163 |
# File 'lib/active_campaign_rb/errors.rb', line 160 def initialize(exc, response = nil) exc_msg_and_response!(exc, response) super("http status could not be derived from the server response") end |