ElectricDBCollectionError

类:ElectricDBCollectionError

定义于:packages/electric-db-collection/src/errors.ts:4

继承自

  • TanStackDBError

继承自

构造函数

new ElectricDBCollectionError()

ts
new ElectricDBCollectionError(message): ElectricDBCollectionError
new ElectricDBCollectionError(message): ElectricDBCollectionError

定义于:packages/electric-db-collection/src/errors.ts:5

参数

message

string

Returns (返回)

ElectricDBCollectionError

Overrides

ts
TanStackDBError.constructor
TanStackDBError.constructor

属性

cause?

ts
optional cause: unknown;
optional cause: unknown;

定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es2022.error.d.ts:26

继承自

ts
TanStackDBError.cause
TanStackDBError.cause

message

ts
message: string;
message: string;

定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es5.d.ts:1077

继承自

ts
TanStackDBError.message
TanStackDBError.message

name

ts
name: string;
name: string;

定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es5.d.ts:1076

继承自

ts
TanStackDBError.name
TanStackDBError.name

stack?

ts
optional stack: string;
optional stack: string;

定义于: node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/lib.es5.d.ts:1078

继承自

ts
TanStackDBError.stack
TanStackDBError.stack

prepareStackTrace()?

ts
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

用于格式化堆栈跟踪的可选覆盖

参数

err

Error

stackTraces

CallSite[]

Returns (返回)

any

参见

https://v8.node.org.cn/docs/stack-trace-api#customizing-stack-traces

继承自

ts
TanStackDBError.prepareStackTrace
TanStackDBError.prepareStackTrace

stackTraceLimit

ts
static stackTraceLimit: number;
static stackTraceLimit: number;

定义于: node_modules/.pnpm/@types+node@22.13.10/node_modules/@types/node/globals.d.ts:145

继承自

ts
TanStackDBError.stackTraceLimit
TanStackDBError.stackTraceLimit

方法

captureStackTrace()

ts
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 属性

参数

targetObject

object

constructorOpt?

Function

Returns (返回)

void

继承自

ts
TanStackDBError.captureStackTrace
TanStackDBError.captureStackTrace
我们的合作伙伴
Code Rabbit
Electric
Prisma
订阅 Bytes

您的每周 JavaScript 资讯。每周一免费发送给超过 10 万开发者。

Bytes

无垃圾邮件。您可以随时取消订阅。

订阅 Bytes

您的每周 JavaScript 资讯。每周一免费发送给超过 10 万开发者。

Bytes

无垃圾邮件。您可以随时取消订阅。