class CollectionGetFailed
extends Error

Error thrown when a document get operation fails.

Constructors

new
CollectionGetFailed(
collection: string,
key: unknown,
message: string,
cause?: unknown,
)

Properties

readonly
collection: string

Name of the collection.

readonly
key: unknown

Key that was being retrieved.

name: string

Usage

import { CollectionGetFailed } from ".";