ContainerRegistrationError
Hierarchy
- ContainerError
- ContainerRegistrationError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
The error message.
type: string | Constructable<unknown>
The class whose factory was being registered.
Returns ContainerRegistrationError
Properties
readonlyinheritedtype
The name of the class the container was asked about.
Thrown when a factory is registered for a class that already has one with the same metadata.
Errors/Container
When a factory is registered twice for one class and metadata.