AI-generated Key Takeaways
-
The
ApiException
class is used to hold a list of service errors that may occur during API operations. -
It inherits from the
ApplicationException
class, which provides a basic framework for handling exceptions. -
ApiException
includes a field callederrors
that contains a list of specific error objects, each providing details about the encountered error. -
These error objects can belong to various types like
ApiError
,AuthenticationError
,PermissionError
, etc., each indicating a different category of error. -
The namespace for this class is
https://www.google.com/apis/ads/publisher/v202411
, which identifies the relevant API version and context for the exception.
Exception class for holding a list of service errors.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field |
|
---|---|
ApplicationException (inherited)
|
|
|
Error message. |
ApiException
|
|
|
List of errors. |