voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (16 loc) • 993 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [/](./firestore_.md) > [FirestoreError](./firestore_.firestoreerror.md)
## FirestoreError class
An error returned by a Firestore operation.
<b>Signature:</b>
```typescript
export declare class FirestoreError extends Error
```
<b>Extends:</b> Error
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [code](./firestore_.firestoreerror.code.md) | | [FirestoreErrorCode](./firestore_.firestoreerrorcode.md) | The backend error code associated with this error. |
| [message](./firestore_.firestoreerror.message.md) | | string | A custom error description. |
| [name](./firestore_.firestoreerror.name.md) | | string | The custom name for all FirestoreErrors. |
| [stack?](./firestore_.firestoreerror.stack.md) | | string | <i>(Optional)</i> The stack of the error. |