Coverage for apps/ptf/exceptions.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-06-19 08:36 +0000

1class ResourceExists(Exception): 

2 pass 

3 

4 

5class ResourceDoesNotExist(Exception): 

6 pass 

7 

8 

9class ResourceHasNoDoi(Exception): 

10 pass 

11 

12 

13class ServerUnderMaintenance(Exception): 

14 pass 

15 

16 

17class PDFException(Exception): 

18 """ 

19 Any problem while compiling a PDF 

20 """ 

21 

22 

23class DOIException(Exception): 

24 """ 

25 Any problem while recording a DOI 

26 """