Coverage for src/botadi/mokadi/mokadi_exceptions.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

8 statements  

1""" 

2@file 

3@brief Exception for Mokadi. 

4""" 

5 

6 

7class MokadiException(Exception): 

8 """ 

9 Mokadi exception. 

10 """ 

11 pass # pylint: disable=W0107 

12 

13 

14class CognitiveException(Exception): 

15 """ 

16 Failure when calling the API. 

17 """ 

18 pass # pylint: disable=W0107 

19 

20 

21class WikipediaException(Exception): 

22 """ 

23 Issue with :epkg:`wikipedia`. 

24 """ 

25 pass # pylint: disable=W0107 

26 

27 

28class MokadiAuthentification(Exception): 

29 """ 

30 Issue with authentification. 

31 """ 

32 pass # pylint: disable=W0107