Skip to content

CircularDependencyError

Defined in: packages/di-craft/src/core/resolver/errors.ts:28

Error thrown when provider dependencies form a cycle.

new CircularDependencyError(tokenNames): CircularDependencyError

Defined in: packages/di-craft/src/core/resolver/errors.ts:29

string[]

CircularDependencyError

DiError.constructor

optional cause?: unknown

Defined in: node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24

DiError.cause


message: string

Defined in: node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075

DiError.message


name: string

Defined in: node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1074

DiError.name


optional stack?: string

Defined in: node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076

DiError.stack