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