Class: CircularDependencyInjectionError
Imported from
@react-logic/diDefined in: di/src/lib/default-adapter.ts:101
Thrown when a service's constructor injects a token whose construction is
already in progress in the same scope — i.e. A injects B injects A.
The error message includes the full injection path that triggered the cycle, so you can see how the loop was reached. Resolve cycles by either inverting a dependency, lazy-injecting via a factory provider that defers the lookup, or splitting a service into two.
Extends
Error
Constructors
Constructor
new CircularDependencyInjectionError(
type,injectionTreeType,injectorName):CircularDependencyInjectionError
Defined in: di/src/lib/default-adapter.ts:102
Parameters
Returns
CircularDependencyInjectionError
Overrides
Error.constructor