Class: AdwordsApi::Errors::ReportError

Inherits:
AdsCommon::Errors::ApiException
  • Object
show all
Defined in:
lib/adwords_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.



71
72
73
74
# File 'lib/adwords_api/errors.rb', line 71

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.



69
70
71
# File 'lib/adwords_api/errors.rb', line 69

def http_code
  @http_code
end