magic_utils.exceptions package
Submodules
magic_utils.exceptions.registryExceptions module
- exception magic_utils.exceptions.registryExceptions.DuplicateKeyError(message: str = None, registry_name: str = 'BaseRegistry', duplicate_item: Hashable = '')[source]
Bases:
RegistryErrorCustom exception raised when there is an attempt to register a duplicate entry. Inherits from RegistryError and adds specific behavior for duplicate errors.
- exception magic_utils.exceptions.registryExceptions.MissingKeyError(message: str = None, registry_name: str = 'BaseRegistry', missing_key: Hashable = '')[source]
Bases:
RegistryErrorCustom exception raised when a requested entry is not found in the registry. Inherits from RegistryError and adds specific behavior for not registered errors.