ba4a289f848cbcdee6e4b78211423d5219fe5b3d
[tiramisu.git] / tiramisu / error.py
1 class AmbigousOptionError(Exception):
2     pass
3 class NoMatchingOptionFound(AttributeError):
4     pass
5 class ConfigError(Exception):
6     pass
7 class ConflictConfigError(ConfigError):
8     pass
9 class PropertiesOptionError(AttributeError):
10     def __init__(self, msg, proptype):
11         self.proptype = proptype
12         super(PropertiesOptionError, self).__init__(msg)
13
14 class NotFoundError(Exception):
15     pass
16 class MethodCallError(Exception):
17     pass
18 class RequiresError(Exception):
19     pass
20 class RequirementRecursionError(RequiresError):
21     pass
22 class MandatoryError(Exception):
23     pass
24 class NoValueReturned(Exception):
25     pass