Coverage for src/metaclass_registry/exceptions.py: 100%
8 statements
« prev ^ index » next coverage.py v7.17.3, created at 2026-11-17 00:39 +0000
« prev ^ index » next coverage.py v7.17.3, created at 2026-11-17 00:39 +0000
1"""Exceptions for metaclass-registry."""
4class RegistryError(Exception):
5 """Base exception for registry-related errors."""
7 pass
10class DiscoveryError(RegistryError):
11 """Exception raised when plugin discovery fails."""
13 pass
16class CacheError(RegistryError):
17 """Exception raised when cache operations fail."""
19 pass
22class DuplicateRegistryKeyError(RegistryError):
23 """Raised when a registry key that names one class is claimed by another."""
25 pass