MCPcopy Index your code
hub / github.com/angular/angular / cyclicDependencyErrorWithDetails

Function cyclicDependencyErrorWithDetails

packages/core/src/render3/errors_di.ts:30–32  ·  view source on GitHub ↗
(token: string, path: string[])

Source from the content-addressed store, hash-verified

28
29/** Creates a circular dependency runtime error including a dependency path in the error message. */
30export function cyclicDependencyErrorWithDetails(token: string, path: string[]): Error {
31 return augmentRuntimeError(cyclicDependencyError(token, path), null);
32}
33
34export function throwMixedMultiProviderError() {
35 throw new Error(`Cannot mix multi providers and regular providers`);

Callers 2

walkProviderTreeFunction · 0.90
getNodeInjectableFunction · 0.90

Calls 2

augmentRuntimeErrorFunction · 0.85
cyclicDependencyErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…