定义于:packages/db/src/errors.ts:2
new TanStackDBError(message): TanStackDBError
new TanStackDBError(message): TanStackDBError
定义于:packages/db/src/errors.ts:3
string
Error.constructor
Error.constructor
optional cause: unknown;
optional cause: unknown;
定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Error.cause
Error.cause
message: string;
message: string;
定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es5.d.ts:1077
Error.message
Error.message
name: string;
name: string;
定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es5.d.ts:1076
Error.name
Error.name
optional stack: string;
optional stack: string;
定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es5.d.ts:1078
Error.stack
Error.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
Error.prepareStackTrace
Error.prepareStackTrace
static stackTraceLimit: number;
static stackTraceLimit: number;
定义于: node_modules/.pnpm/@types+node@22.13.10/node_modules/@types/node/globals.d.ts:145
Error.stackTraceLimit
Error.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
Error.captureStackTrace
Error.captureStackTrace
您的每周 JavaScript 资讯。每周一免费发送给超过 10 万开发者。