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
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
1"""
2@file
3@brief Exception for Mokadi.
4"""
7class MokadiException(Exception):
8 """
9 Mokadi exception.
10 """
11 pass # pylint: disable=W0107
14class CognitiveException(Exception):
15 """
16 Failure when calling the API.
17 """
18 pass # pylint: disable=W0107
21class WikipediaException(Exception):
22 """
23 Issue with :epkg:`wikipedia`.
24 """
25 pass # pylint: disable=W0107
28class MokadiAuthentification(Exception):
29 """
30 Issue with authentification.
31 """
32 pass # pylint: disable=W0107