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

10 statements  

« prev     ^ index     » next       coverage.py v7.3.2, created at 2024-11-04 17:46 +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 """