MCPcopy Create free account
hub / github.com/TanStack/db / constructor

Method constructor

packages/query-db-collection/src/errors.ts:56–59  ·  view source on GitHub ↗
(key: string | number)

Source from the content-addressed store, hash-verified

54
55export class ItemNotFoundError extends QueryCollectionError {
56 constructor(key: string | number) {
57 super(`Item with key '${key}' does not exist.`)
58 this.name = `ItemNotFoundError`
59 }
60}
61
62export class DuplicateKeyInBatchError extends QueryCollectionError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected