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

Method constructor

packages/db/src/errors.ts:3–6  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

1// Root error class for all TanStack DB errors
2export class TanStackDBError extends Error {
3 constructor(message: string) {
4 super(message)
5 this.name = `TanStackDBError`
6 }
7}
8
9// Base error classes

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected