Skip to content

uzi.exceptions

uzi.exceptions

UziException

Bases: Exception

Base class for all internal exceptions.

FinalProviderOverrideError

Bases: TypeError, UziException

Raised when a final provider has an override.

InvalidStateError

Bases: UziException

The operation is not allowed in this state.

InjectorLookupError

Bases: KeyError, UziException

Raised by ~Injector` when a missing dependency is requested.

Parameters:

Name Type Description Default
abstract Injectable

the missing dependency

required

ProError

Bases: TypeError, UziException

Raised when there is an issue with provider resolution order (pro) consistency

Back to top