voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (16 loc) • 1.02 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [lite](./firestore_lite.md) > [FirestoreError](./firestore_lite.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_lite.firestoreerror.code.md) | | [FirestoreErrorCode](./firestore_lite.firestoreerrorcode.md) | The backend error code associated with this error. |
| [message](./firestore_lite.firestoreerror.message.md) | | string | A custom error description. |
| [name](./firestore_lite.firestoreerror.name.md) | | string | The custom name for all FirestoreErrors. |
| [stack?](./firestore_lite.firestoreerror.stack.md) | | string | <i>(Optional)</i> The stack of the error. |