Class: AdwordsApi::V201509::AdGroupAdService::ApiException

Inherits:
ApplicationException show all
Defined in:
lib/adwords_api/v201509/ad_group_ad_service_registry.rb

Overview

Exception class for holding a list of service errors.

Instance Attribute Summary collapse

Attributes inherited from ApplicationException

#application_exception_type, #message

Attributes inherited from Errors::ApiException

#array_fields

Instance Method Summary collapse

Constructor Details

#initialize(exception_fault) ⇒ ApiException

Returns a new instance of ApiException.



40
41
42
43
44
# File 'lib/adwords_api/v201509/ad_group_ad_service_registry.rb', line 40

def initialize(exception_fault)
  @array_fields ||= []
  @array_fields << 'errors'
  super(exception_fault, AdGroupAdServiceRegistry)
end

Instance Attribute Details

#errorsObject (readonly)

ApiError



39
40
41
# File 'lib/adwords_api/v201509/ad_group_ad_service_registry.rb', line 39

def errors
  @errors
end