ResourceErrorDetail Stay organized with collections Save and categorize content based on your preferences.
Provides details for errors and the corresponding resources.
| JSON representation |
|---|
{"resourceInfo":{object ( |
| Fields | |
|---|---|
resourceInfo |
Required. Information about the resource where the error is located. |
errorDetails[] |
Required. The error details for the resource. |
errorCount |
Required. How many errors there are in total for the resource. Truncation can be indicated by having an |
ErrorDetail
Provides details for errors, e.g. issues that where encountered when processing a subtask.
| JSON representation |
|---|
{"location":{object ( |
| Fields | |
|---|---|
location |
Optional. The exact location within the resource (if applicable). |
errorInfo |
Required. Describes the cause of the error with structured detail. |
ErrorLocation
Holds information about where the error is located.
| JSON representation |
|---|
{"line":integer,"column":integer} |
| Fields | |
|---|---|
line |
Optional. If applicable, denotes the line where the error occurred. A zero value means that there is no line information. |
column |
Optional. If applicable, denotes the column where the error occurred. A zero value means that there is no columns information. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.