Coverage for /Users/mac/Documents/Work/peachOps/yaml-config-manager/src/yamleaf/exceptions.py: 100%
10 statements
« prev ^ index » next coverage.py v7.9.2, created at 2025-07-03 19:41 +0000
« prev ^ index » next coverage.py v7.9.2, created at 2025-07-03 19:41 +0000
1"""
2Custom exceptions for the yaml-config-manager package.
3"""
6class ConfigError(Exception):
7 """Base exception for configuration errors."""
8 pass
11class ConfigNotFoundError(ConfigError):
12 """Raised when configuration file is not found."""
13 pass
16class ConfigValidationError(ConfigError):
17 """Raised when configuration validation fails."""
18 pass
21class ConfigParseError(ConfigError):
22 """Raised when configuration file cannot be parsed."""
23 pass
26class ConfigPermissionError(ConfigError):
27 """Raised when there are permission issues with config file operations."""
28 pass