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

Method constructor

packages/db/src/errors.ts:119–123  ·  view source on GitHub ↗
(from: string, to: string, collectionId: string)

Source from the content-addressed store, hash-verified

117
118export class InvalidCollectionStatusTransitionError extends CollectionStateError {
119 constructor(from: string, to: string, collectionId: string) {
120 super(
121 `Invalid collection status transition from "${from}" to "${to}" for collection "${collectionId}"`,
122 )
123 }
124}
125
126export class CollectionIsInErrorStateError extends CollectionStateError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected