4d5c6ab814e2aa1dedfdabf9e8e3e46ad1675213
[tiramisu.git] / tiramisu / error.py
1 class ValidateError(Exception):
2     "If validation failed"
3     pass
4
5
6 class AmbigousOptionError(Exception):
7     pass
8
9
10 class NoMatchingOptionFound(AttributeError):
11     pass
12
13
14 class ConfigError(Exception):
15     pass
16
17
18 class ConflictConfigError(ConfigError):
19     pass
20
21
22 class PropertiesOptionError(AttributeError):
23     def __init__(self, msg, proptype):
24         self.proptype = proptype
25         super(PropertiesOptionError, self).__init__(msg)
26
27
28 class NotFoundError(Exception):
29     pass
30
31
32 class MethodCallError(Exception):
33     pass
34
35
36 class RequiresError(Exception):
37     pass
38
39
40 class RequirementRecursionError(RequiresError):
41     pass
42
43
44 class MandatoryError(Exception):
45     pass
46
47
48 class OptionValueError(Exception):
49     pass
50
51
52 class MultiTypeError(Exception):
53     pass