docs-devsite/ai.errordetails.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
Details object that may be included in an error response.
<b>Signature:</b>
export interface ErrorDetails
| 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. |
<b>Signature:</b>
'@type'?: string;
The domain where the error occurred.
<b>Signature:</b>
domain?: string;
Additional metadata about the error.
<b>Signature:</b>
metadata?: Record<string, unknown>;
The reason for the error.
<b>Signature:</b>
reason?: string;