Exceptions
CannotResolveParameterServiceFromImplementationFactoryError
Bases: WirioError
The exception that is thrown when a service for a parameter of an implementation factory cannot be resolved.
CannotResolveServiceError
CannotResolveServiceFromEndpointError
Bases: WirioError
The exception that is thrown when a service for a parameter of an endpoint cannot be resolved.
CircularDependencyError
DirectScopedResolvedFromRootError
Bases: WirioError
The exception that is thrown when a scoped service is resolved directly from the root provider.
InvalidServiceDescriptorError
InvalidServiceKeyTypeError
Bases: WirioError
The exception that is thrown when the type of the key used for lookup doesn't match the type in the constructor parameter with the ServiceKey annotation metadata.
KeyedServiceAnyKeyUsedToResolveServiceError
Bases: WirioError
The exception that is thrown when KeyedService.AnyKey is used to resolve a single service.
NoKeyedServiceRegisteredError
Bases: WirioError
The exception that is thrown when no keyed service is registered for a given type and key.
NoKeyedSingletonServiceRegisteredError
Bases: WirioError
The exception that is thrown when no keyed singleton service is registered for a given type and key.
NoServiceRegisteredError
NoSingletonServiceRegisteredError
Bases: WirioError
The exception that is thrown when no singleton service is registered for a given type.
NonKeyedDescriptorMisuseError
ObjectDisposedError
ScopedInSingletonError
ScopedResolvedFromRootError
Bases: WirioError
The exception that is thrown when a scoped service is resolved from the root provider.
ServiceDescriptorDoesNotExistError
WirioError
Bases: Exception
Base exception for Wirio Dependency Injection.