Coverage for src/actuariat_python/data/data_exceptions.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-07-02 07:38 +0200

1""" 

2@file 

3@brief Exceptions raised by this module when getting data 

4""" 

5 

6 

7class DataNotAvailableError(Exception): 

8 """ 

9 raised data is not available 

10 """ 

11 pass 

12 

13 

14class DataFormatException(Exception): 

15 

16 """ 

17 raise when the format is unexpected 

18 """ 

19 pass 

20 

21 

22class LinkNotFoundError(Exception): 

23 

24 """ 

25 raise when a file is not found on a webpage 

26 """ 

27 pass