FirestoreError class
Stay organized with collections
Save and categorize content based on your preferences.
An error returned by a Firestore operation.
Signature:
export declare class FirestoreError extends FirebaseError
Extends: 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:
readonly code: FirestoreErrorCode;
FirestoreError.message
A custom error description.
Signature:
readonly message: string;
FirestoreError.stack
The stack of the error.
Signature:
readonly stack?: string;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-22 UTC.
[null,null,["Last updated 2022-07-22 UTC."],[],[],null,["An error returned by a Firestore operation.\n\n**Signature:** \n\n export declare class FirestoreError extends FirebaseError \n\n**Extends:** [FirebaseError](./util.firebaseerror.md#firebaseerror_class)\n\nProperties\n\nFirestoreError.code\n\nThe backend error code associated with this error.\n\n**Signature:** \n\n readonly code: FirestoreErrorCode;\n\nFirestoreError.message\n\nA custom error description.\n\n**Signature:** \n\n readonly message: string;\n\nFirestoreError.stack\n\nThe stack of the error.\n\n**Signature:** \n\n readonly stack?: string;"]]