The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/firestore > lite > FirestoreError

FirestoreError class

An error returned by a Firestore operation.

Signature:

export declare class FirestoreError extends Error 

Extends: Error

Properties

Property Modifiers Type Description
code FirestoreErrorCode The backend error code associated with this error.
message string A custom error description.
name string The custom name for all FirestoreErrors.
stack? string (Optional) The stack of the error.