Thrown a user tries to override() a class when build() was already called.
override()
build()
container.build(); // 'Build' was already calledcontainer.override(IFoo, ConcreteFoo); // Error: Overrides already applied! Copy
container.build(); // 'Build' was already calledcontainer.override(IFoo, ConcreteFoo); // Error: Overrides already applied!
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 a user tries to
override()
a class whenbuild()
was already called.Example