定义于:packages/query-db-collection/src/errors.ts:4
new QueryCollectionError(message): QueryCollectionError
new QueryCollectionError(message): QueryCollectionError
定义于:packages/query-db-collection/src/errors.ts:5
string
TanStackDBError.constructor
TanStackDBError.constructor
optional cause: unknown;
optional cause: unknown;
定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es2022.error.d.ts:26
TanStackDBError.cause
TanStackDBError.cause
message: string;
message: string;
定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es5.d.ts:1077
TanStackDBError.message
TanStackDBError.message
name: string;
name: string;
定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es5.d.ts:1076
TanStackDBError.name
TanStackDBError.name
optional stack: string;
optional stack: string;
定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es5.d.ts:1078
TanStackDBError.stack
TanStackDBError.stack
static optional prepareStackTrace: (err, stackTraces) => any;
static optional prepareStackTrace: (err, stackTraces) => any;
定义于: node_modules/.pnpm/@types+node@22.13.10/node_modules/@types/node/globals.d.ts:143
用于格式化堆栈跟踪的可选覆盖
Error
CallSite[]
any
https://v8.node.org.cn/docs/stack-trace-api#customizing-stack-traces
TanStackDBError.prepareStackTrace
TanStackDBError.prepareStackTrace
static stackTraceLimit: number;
static stackTraceLimit: number;
定义于: node_modules/.pnpm/@types+node@22.13.10/node_modules/@types/node/globals.d.ts:145
TanStackDBError.stackTraceLimit
TanStackDBError.stackTraceLimit
static captureStackTrace(targetObject, constructorOpt?): void
static captureStackTrace(targetObject, constructorOpt?): void
定义于: node_modules/.pnpm/@types+node@22.13.10/node_modules/@types/node/globals.d.ts:136
在目标对象上创建 .stack 属性
object
Function
void
TanStackDBError.captureStackTrace
TanStackDBError.captureStackTrace
您的每周 JavaScript 资讯。每周一免费发送给超过 10 万开发者。