ContainerResolutionError
Hierarchy
- ContainerError
- ContainerResolutionError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
The error message.
type: string | Constructable<unknown>
The class that could not be resolved.
Returns ContainerResolutionError
Properties
readonlyinheritedtype
The name of the class the container was asked about.
Thrown when a class is requested and no factory registers for it before the timeout - see Container.setFactoryTimeout.
Errors/Container
When no factory registers for a requested class before the timeout.
When a factory is called with fewer arguments than its class needs.