Coverage for src / python_commitlint / core / exceptions.py: 100%
1 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-04-28 02:54 +0000
« prev ^ index » next coverage.py v7.13.4, created at 2026-04-28 02:54 +0000
1"""Domain exceptions raised across the python-commitlint package."""
4class ConfigurationError(Exception):
5 """Raised when a commitlint configuration is malformed or invalid.
7 Used at the configuration-loading boundary to surface a single,
8 actionable error type instead of leaking ``ValueError`` / ``TypeError``
9 / ``KeyError`` from internal parsing.
10 """