CircularDependencyError
Defined in: packages/di-craft/src/core/resolver/errors.ts:28
Error thrown when provider dependencies form a cycle.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CircularDependencyError(
tokenNames):CircularDependencyError
Defined in: packages/di-craft/src/core/resolver/errors.ts:29
Parameters
Section titled “Parameters”tokenNames
Section titled “tokenNames”string[]
Returns
Section titled “Returns”CircularDependencyError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause?:unknown
Defined in: node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Section titled “Inherited from”message
Section titled “message”message:
string
Defined in: node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Section titled “Inherited from”name:
string
Defined in: node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Section titled “Inherited from”stack?
Section titled “stack?”
optionalstack?:string
Defined in: node_modules/.bun/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076