Class: AdManagerApi::V202411::ReportService::ApiException
- Inherits:
-
ApplicationException
- Object
- AdsCommon::Errors::ApiException
- Errors::ApiException
- ApplicationException
- AdManagerApi::V202411::ReportService::ApiException
- Defined in:
- lib/ad_manager_api/v202411/report_service_registry.rb
Overview
Exception class for holding a list of service errors.
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
ApiError.
Attributes inherited from ApplicationException
Attributes inherited from Errors::ApiException
Instance Method Summary collapse
-
#initialize(exception_fault) ⇒ ApiException
constructor
A new instance of ApiException.
Constructor Details
#initialize(exception_fault) ⇒ ApiException
Returns a new instance of ApiException.
39 40 41 42 43 |
# File 'lib/ad_manager_api/v202411/report_service_registry.rb', line 39 def initialize(exception_fault) @array_fields ||= [] @array_fields << 'errors' super(exception_fault, ReportServiceRegistry) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
ApiError
38 39 40 |
# File 'lib/ad_manager_api/v202411/report_service_registry.rb', line 38 def errors @errors end |