Coverage for src/hypra/errors.py: 100.00%

3 statements  

« prev     ^ index     » next       coverage.py v7.17.3, created at 2026-11-26 22:12 +0000

1"""Public errors: symbolic failures are never returned as successful expansions.""" 

2 

3 

4class HypraError(Exception): 

5 """Base error for Hypra.""" 

6 

7 

8class UnsupportedExpressionError(HypraError, ValueError): 

9 """Input cannot be expanded safely by the current implementation.""" 

10 

11 

12class IncompleteExpansionError(HypraError): 

13 """Backend did not supply a complete, exact Laurent expansion."""