Back to Firebase Js Sdk

ErrorDetails interface

docs-devsite/ai.errordetails.md

12.12.11.3 KB
Original Source

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 %}

ErrorDetails interface

Details object that may be included in an error response.

<b>Signature:</b>

typescript
export interface ErrorDetails 

Properties

PropertyTypeDescription
"@type"string
domainstringThe domain where the error occurred.
metadataRecord<string, unknown>Additional metadata about the error.
reasonstringThe reason for the error.

ErrorDetails."@type"

<b>Signature:</b>

typescript
'@type'?: string;

ErrorDetails.domain

The domain where the error occurred.

<b>Signature:</b>

typescript
domain?: string;

ErrorDetails.metadata

Additional metadata about the error.

<b>Signature:</b>

typescript
metadata?: Record<string, unknown>;

ErrorDetails.reason

The reason for the error.

<b>Signature:</b>

typescript
reason?: string;