Coverage for .tox/py314/lib/python3.14/site-packages/pydalec/errors.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.14.1, created at 2026-06-04 14:38 +0200

1class PyDalecError(Exception): 

2 """Base class for all DALEC client exceptions.""" 

3 

4 

5class PyDalecConnectionError(PyDalecError): 

6 """Raised when a connection to the DALEC cannot be established.""" 

7 

8 

9class PyDalecNoPositionDataError(PyDalecError): 

10 """Raised when no valid GNSS position is received before timeout.""" 

11 

12 

13class PyDalecNoSolarZenithDataError(PyDalecError): 

14 """Raised when no valid solar zenith is received before timeout."""