class CollectionPutFailed
extends Error

Error thrown when a document put operation fails.

Constructors

CollectionPutFailed(
collection: string,
key: unknown,
message: string,
cause?: unknown
)

Properties

readonly
collection: string

Name of the collection.

readonly
key: unknown

Key that was being written.

name: string

Usage

import { CollectionPutFailed } from ".";