2012-07-13 09:37:35 +02:00
|
|
|
class AmbigousOptionError(Exception):
|
|
|
|
pass
|
|
|
|
class NoMatchingOptionFound(AttributeError):
|
|
|
|
pass
|
|
|
|
class ConfigError(Exception):
|
|
|
|
pass
|
|
|
|
class ConflictConfigError(ConfigError):
|
|
|
|
pass
|
2012-08-13 12:49:58 +02:00
|
|
|
class PropertiesOptionError(AttributeError):
|
2012-10-16 15:09:52 +02:00
|
|
|
def __init__(self, msg, proptype):
|
2012-09-07 15:47:06 +02:00
|
|
|
self.proptype = proptype
|
|
|
|
super(PropertiesOptionError, self).__init__(msg)
|
|
|
|
|
2012-07-13 09:37:35 +02:00
|
|
|
class NotFoundError(Exception):
|
|
|
|
pass
|
|
|
|
class MethodCallError(Exception):
|
2012-09-18 09:48:41 +02:00
|
|
|
pass
|
2012-07-13 09:37:35 +02:00
|
|
|
class RequiresError(Exception):
|
2012-09-18 09:48:41 +02:00
|
|
|
pass
|
2012-07-26 10:54:57 +02:00
|
|
|
class RequirementRecursionError(RequiresError):
|
|
|
|
pass
|
2012-07-13 09:37:35 +02:00
|
|
|
class MandatoryError(Exception):
|
2012-09-18 09:48:41 +02:00
|
|
|
pass
|
2013-02-21 17:07:00 +01:00
|
|
|
class OptionValueError(Exception):
|
|
|
|
pass
|
2013-02-22 11:09:17 +01:00
|
|
|
class MultiTypeError(Exception):
|
|
|
|
pass
|