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

Method constructor

packages/db/src/errors.ts:111–115  ·  view source on GitHub ↗
(operation: string, collectionId: string)

Source from the content-addressed store, hash-verified

109
110export class CollectionInErrorStateError extends CollectionStateError {
111 constructor(operation: string, collectionId: string) {
112 super(
113 `Cannot perform ${operation} on collection "${collectionId}" - collection is in error state. Try calling cleanup() and restarting the collection.`,
114 )
115 }
116}
117
118export class InvalidCollectionStatusTransitionError extends CollectionStateError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected