Coverage for dataexcept/exceptions/configuration.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.15.4, created at 2026-09-03 20:46 +0000

1from .base import JobError 

2 

3 

4class ConfigurationError(JobError): 

5 """Raised when there is a problem with configuration or settings.""" 

6 

7 def __init__(self, option: str, message: str | None = None): 

8 self.option = option 

9 self.message = message or f"Invalid configuration for '{option}'" 

10 super().__init__(self.message)