candv.exceptions   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 59
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 18
dl 0
loc 59
rs 10
c 0
b 0
f 0
1
from ._utils import export
2
3
4
@export
5
class CandvException(Exception):
6
  """
7
  Base exception
8
9
  .. versionadded:: 1.4.0
10
11
  """
12
13
14
@export
15
class CandvTypeError(TypeError, CandvException):
16
  """
17
  .. versionadded:: 1.4.0
18
  """
19
20
21
@export
22
class CandvInvalidGroupMemberError(CandvTypeError):
23
  """
24
  .. versionadded:: 1.4.0
25
  """
26
27
28
@export
29
class CandvInvalidConstantClass(CandvTypeError):
30
  """
31
  .. versionadded:: 1.4.0
32
  """
33
34
35
@export
36
class CandvContainerMisusedError(CandvTypeError):
37
  """
38
  .. versionadded:: 1.4.0
39
  """
40
41
42
@export
43
class CandvConstantAlreadyBoundError(ValueError, CandvException):
44
  """
45
  .. versionadded:: 1.4.0
46
  """
47
48
49
@export
50
class CandvMissingConstantError(KeyError, CandvException):
51
  """
52
  .. versionadded:: 1.4.0
53
  """
54
55
56
@export
57
class CandvValueNotFoundError(ValueError, CandvException):
58
  """
59
  .. versionadded:: 1.4.0
60
  """
61