AI-generated Key Takeaways
-
UrlError represents common errors encountered when working with URLs in the NetworkService.
-
UrlError inherits from ApiError, including fields like fieldPath, fieldPathElements, trigger, and errorString.
-
Specific reasons for a UrlError are enumerated, such as CANNOT_USE_RESERVED_URL, CANNOT_USE_GOOGLE_URL, INVALID_URL, and UNKNOWN.
-
The UrlError class includes a 'reason' field of type UrlError.Reason to specify the cause of the error.
Common errors for URLs.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
Field |
|
---|---|
ApiError (inherited)
|
|
|
The OGNL field path to identify cause of error. |
|
A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. |
|
The data that caused the error. |
|
A simple string representation of the error and reason. |
UrlError
|
|
|
Enumerations
|