Exception: ActiveCampaignRb::NilStatusError

Inherits:
ServerError show all
Defined in:
lib/active_campaign_rb/errors.rb

Overview

Wraps Faraday::NilStatusError

Author:

Instance Method Summary collapse

Methods inherited from Error

#message

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