MCPcopy Index your code
hub / github.com/TanStack/db / constructor

Method constructor

packages/db/src/errors.ts:500–512  ·  view source on GitHub ↗
(
    alias: string,
    collectionId?: string,
    availableKeys?: Array<string>,
  )

Source from the content-addressed store, hash-verified

498 */
499export class CollectionInputNotFoundError extends QueryCompilationError {
500 constructor(
501 alias: string,
502 collectionId?: string,
503 availableKeys?: Array<string>,
504 ) {
505 const details = collectionId
506 ? `alias "${alias}" (collection "${collectionId}")`
507 : `collection "${alias}"`
508 const availableKeysMsg = availableKeys?.length
509 ? `. Available keys: ${availableKeys.join(`, `)}`
510 : ``
511 super(`Input for ${details} not found in inputs map${availableKeysMsg}`)
512 }
513}
514
515/**

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected