Class: ContainerError
Class: ContainerError
Class representing a ContainerError.
Author
Mr. Stone evensstone@gmail.com
Extends
Error
Constructors
Constructor
new ContainerError(type, message): ContainerError;
Create a ContainerError.
Parameters
type
string
The type of the error.
message
The error message or key related to the error.
Returns
ContainerError
Overrides
Error.constructor
Properties
ALIAS_TYPE
readonly static ALIAS_TYPE: "alias" = 'alias';
Error type indicating an alias conflict.
ALIAS_UNBOUND_TYPE
readonly static ALIAS_UNBOUND_TYPE: "alias_unbound" = 'alias_unbound';
Error type indicating an attempt to alias an unbound value.
CANNOT_RESOLVE_TYPE
readonly static CANNOT_RESOLVE_TYPE: "cannot_resolve" = 'cannot_resolve';
Error type indicating an error thrown by the resolver function.
CIRCULAR_DEPENDENCY_TYPE
readonly static CIRCULAR_DEPENDENCY_TYPE: "circular_dependency" = 'circular_dependency';
Error type indicating a circular dependency.
NOT_A_SERVICE_TYPE
readonly static NOT_A_SERVICE_TYPE: "not_a_service" = 'not_a_service';
Error type indicating that a value is not a service.
RESOLUTION_TYPE
readonly static RESOLUTION_TYPE: "resolution" = 'resolution';
Error type indicating a resolution failure.
RESOLVER_TYPE
readonly static RESOLVER_TYPE: "resolver" = 'resolver';
Error type indicating that the resolver is not a function.