docs-devsite/firestore_lite.firestoreerror.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 %}
An error returned by a Firestore operation.
<b>Signature:</b>
export declare class FirestoreError extends FirebaseError
<b>Extends:</b> FirebaseError
| Property | Modifiers | Type | Description |
|---|---|---|---|
| code | FirestoreErrorCode | The backend error code associated with this error. | |
| message | string | A custom error description. | |
| stack | string | The stack of the error. |
The backend error code associated with this error.
<b>Signature:</b>
readonly code: FirestoreErrorCode;
A custom error description.
<b>Signature:</b>
readonly message: string;
The stack of the error.
<b>Signature:</b>
readonly stack?: string;