Coverage for src/counter_os/domain/exceptions.py: 100%
5 statements
« prev ^ index » next coverage.py v7.17.5, created at 2026-11-29 05:31 -0600
« prev ^ index » next coverage.py v7.17.5, created at 2026-11-29 05:31 -0600
1class DomainError(Exception):
2 """Base class for all domain-specific exceptions"""
4 pass
7class CountCannotBeNegative(DomainError, ValueError):
8 """Count value object cannot be constructed using a negative integer"""
10 pass
13class CountCannotBeGreaterThan100(DomainError, ValueError):
14 """Count value object cannot be constructed with a number greater than 100"""