Class: BingAdsApi::Errors::ReportError

Inherits:
AdsCommonForBingAds::Errors::ApiException
  • Object
show all
Defined in:
lib/bing_ads_api/errors.rb

Overview

Error for server-side report error.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(http_code, message) ⇒ ReportError

Returns a new instance of ReportError.



51
52
53
54
# File 'lib/bing_ads_api/errors.rb', line 51

def initialize(http_code, message)
  super(message)
  @http_code = http_code
end

Instance Attribute Details

#http_codeObject (readonly)

Returns the value of attribute http_code.



49
50
51
# File 'lib/bing_ads_api/errors.rb', line 49

def http_code
  @http_code
end