linkd.exceptions

exception CircularDependencyException[source]

Exception raised when a circular dependency is detected.

exception CodeGenerationFailedException(generated_code: str, exec_globals: dict[str, Any])[source]

Exception raised code generation of a dependency resolver function failed.

exception ContainerClosedException[source]

Exception raised when attempting to get a dependency from a closed container.

exception DependencyInjectionException[source]

Base class for all exceptions raised from the dependency injection system.

exception DependencyNotSatisfiableException[source]

Exception raised when a dependency is requested but cannot be created.

exception RegistryFrozenException[source]

Exception raised when attempting to register a new dependency with a frozen registry.