ErrorDetails interface
Stay organized with collections
Save and categorize content based on your preferences.
Details object that may be included in an error response.
Signature:
export interface ErrorDetails
Properties
Property |
Type |
Description |
"@type" |
string |
|
domain |
string |
The domain where the error occurred. |
metadata |
Record<string, unknown> |
Additional metadata about the error. |
reason |
string |
The reason for the error. |
ErrorDetails."@type"
Signature:
'@type'?: string;
ErrorDetails.domain
The domain where the error occurred.
Signature:
domain?: string;
Additional metadata about the error.
Signature:
metadata?: Record<string, unknown>;
ErrorDetails.reason
The reason for the error.
Signature:
reason?: string;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["Details object that may be included in an error response.\n\n**Signature:** \n\n export interface ErrorDetails \n\nProperties\n\nErrorDetails.\"@type\"\n\n**Signature:** \n\n '@type'?: string;\n\nErrorDetails.domain\n\nThe domain where the error occurred.\n\n**Signature:** \n\n domain?: string;\n\nErrorDetails.metadata\n\nAdditional metadata about the error.\n\n**Signature:** \n\n metadata?: Record\u003cstring, unknown\u003e;\n\nErrorDetails.reason\n\nThe reason for the error.\n\n**Signature:** \n\n reason?: string;"]]