FirestoreError class Stay organized with collections Save and categorize content based on your preferences.
An error returned by a Firestore operation.
Signature:
exportdeclareclassFirestoreErrorextendsFirebaseErrorExtends:FirebaseError
Properties
| 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. |
FirestoreError.code
The backend error code associated with this error.
Signature:
readonlycode:FirestoreErrorCode;FirestoreError.message
A custom error description.
Signature:
readonlymessage:string;FirestoreError.stack
The stack of the error.
Signature:
readonlystack?:string;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-22 UTC.