CollectionRequiresSyncConfigError

类: CollectionRequiresSyncConfigError

定义于: packages/db/src/errors.ts:58

继承自

构造函数

new CollectionRequiresSyncConfigError()

ts
new CollectionRequiresSyncConfigError(): CollectionRequiresSyncConfigError
new CollectionRequiresSyncConfigError(): CollectionRequiresSyncConfigError

定义于: packages/db/src/errors.ts:59

Returns (返回)

CollectionRequiresSyncConfigError

Overrides

CollectionConfigurationError.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

继承自

CollectionConfigurationError.cause


message

ts
message: string;
message: string;

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

继承自

CollectionConfigurationError.message


name

ts
name: string;
name: string;

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

继承自

CollectionConfigurationError.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

继承自

CollectionConfigurationError.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

继承自

CollectionConfigurationError.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

继承自

CollectionConfigurationError.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

继承自

CollectionConfigurationError.captureStackTrace

我们的合作伙伴
Code Rabbit
Electric
Prisma
订阅 Bytes

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

Bytes

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

订阅 Bytes

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

Bytes

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