tiramisu/tiramisu/error.py
2013-02-22 11:09:17 +01:00

29 lines
717 B
Python

class AmbigousOptionError(Exception):
pass
class NoMatchingOptionFound(AttributeError):
pass
class ConfigError(Exception):
pass
class ConflictConfigError(ConfigError):
pass
class PropertiesOptionError(AttributeError):
def __init__(self, msg, proptype):
self.proptype = proptype
super(PropertiesOptionError, self).__init__(msg)
class NotFoundError(Exception):
pass
class MethodCallError(Exception):
pass
class RequiresError(Exception):
pass
class RequirementRecursionError(RequiresError):
pass
class MandatoryError(Exception):
pass
class NoValueReturned(Exception):
pass
class OptionValueError(Exception):
pass
class MultiTypeError(Exception):
pass