FirestoreError class

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;