Thrown when a service is not found by the container.
Usually, Container.register wasn't called.
Or, the bundle that provides the service was not loaded, see ExtendableContainer.addExtension.
// container.register(Tractor, []); // Should have been called container.get(Tractor); // Error 'Tractor' is not a registered service! Copy
// container.register(Tractor, []); // Should have been called container.get(Tractor); // Error 'Tractor' is not a registered service!
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 is not found by the container.
Usually, Container.register wasn't called.
Or, the bundle that provides the service was not loaded, see ExtendableContainer.addExtension.
Example