Class: AdManagerApi::V202402::SiteService::ApiException

Inherits:
ApplicationException show all
Defined in:
lib/ad_manager_api/v202402/site_service_registry.rb

Instance Attribute Summary collapse

Attributes inherited from ApplicationException

#message

Attributes inherited from Errors::ApiException

#array_fields

Instance Method Summary collapse

Constructor Details

#initialize(exception_fault) ⇒ ApiException

Returns a new instance of ApiException.



37
38
39
40
41
# File 'lib/ad_manager_api/v202402/site_service_registry.rb', line 37

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

Instance Attribute Details

#errorsObject (readonly)

ApiError



36
37
38
# File 'lib/ad_manager_api/v202402/site_service_registry.rb', line 36

def errors
  @errors
end