Class: AdManagerApi::V202308::LiveStreamEventService::ApiException

Inherits:
ApplicationException show all
Defined in:
lib/ad_manager_api/v202308/live_stream_event_service_registry.rb

Overview

Exception class for holding a list of service errors.

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.



39
40
41
42
43
# File 'lib/ad_manager_api/v202308/live_stream_event_service_registry.rb', line 39

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

Instance Attribute Details

#errorsObject (readonly)

ApiError



38
39
40
# File 'lib/ad_manager_api/v202308/live_stream_event_service_registry.rb', line 38

def errors
  @errors
end