FirestoreError class

An error returned by a Firestore operation.

Signature:

exportdeclareclassFirestoreErrorextendsFirebaseError

Extends:FirebaseError

Properties

PropertyModifiersTypeDescription
codeFirestoreErrorCodeThe backend error code associated with this error.
messagestringA custom error description.
stackstringThe 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.