Thrown when a service requires itself as a dependency (prevents infinite loops).
container.register(Foo, [Foo, Bar]); // Error: Cyclical dependency for 'Foo' Copy
container.register(Foo, [Foo, Bar]); // Error: Cyclical dependency for 'Foo'
Static
Optional
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Create .stack property on a target object
Generated using TypeDoc
Thrown when a service requires itself as a dependency (prevents infinite loops).
Example