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

Method constructor

packages/db/src/errors.ts:147–151  ·  view source on GitHub ↗
(item: any)

Source from the content-addressed store, hash-verified

145
146export class UndefinedKeyError extends CollectionOperationError {
147 constructor(item: any) {
148 super(
149 `An object was created without a defined key: ${JSON.stringify(item)}`,
150 )
151 }
152}
153
154export class InvalidKeyError extends CollectionOperationError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected