32 'Not enough privileges. Need root right to be able to manage ' 33 'network interface.', *extra)
38 super().
__init__(value, details, *extra)
41 return 'Invalid BIND address value {0!r}: {1}.'.
format(*self.args)
46 super().
__init__(iface, details, *extra)
49 return 'Invalid target network interface {0!r}: {1}.'.
format(*self.args)
54 super().
__init__(config, details, *extra)
57 return 'Invalid logging config {0!r}: {1}'.
format(*self.args)
65 return 'Can\'t occupy pid file {0!r}: {}'.
format(
66 self.args[0], self.__cause__)
71 return 'Can\'t acquire exclusive lock on pid file {0!r}'.
format(
80 return 'Pid file {0!r} exists and point to alive process {1}'.
format(
86 return 'Pid file {0!r} have been stolen by process {1}'.
format(
94 class ServiceLookupError(ServiceError):
99 return 'Pool {0!r} have no record with key {1!r}'.
format(*self.args)
104 super().
__init__(pool, subject, *extra)
108 'Can\'t add item {args[1]!r} into {args[0]!r} due to error - ' 109 '{cause}').
format(args=self.args, cause=self.__cause__)
114 super().
__init__(pool, key, item, *extra)
117 return 'Error during delete operation in {0!r} for key {1!r}'.
format(
122 def __init__(self, pool, subject, collision, *extra):
123 super().
__init__(pool, subject, collision, *extra)
127 'Can\'t add item {args[1]} into {args[0]!r} due to collision ' 128 'with existing object {args[2]}').
format(args=self.args)
133 super().
__init__(context, klass, *extra)
136 return '{0!r} don\'t have resource belong to {1}'.
format(*self.args)
141 super().
__init__(kind, name, *extra)
144 return (
'System resource manipulation error kind={0} name={1!r}. ' 145 '{cause}').
format(*self.args, cuase=self.__cause__)
150 return 'System resource already exists kind={0} name={1!r}'.
format(
156 return 'System resource not found kind={0} name={1!r}'.
format(
162 super().
__init__(kind, name, details, *extra)
165 return 'Can\'t operate with resource kind={0} name={1!r}: {2}'.
format(
def __init__(self, config, details, extra)
def __init__(self, context, klass, extra)
def __init__(self, pool, key, extra)
def __init__(self, kind, name, extra)
def __init__(self, iface, details, extra)
def __init__(self, value, details, extra)
def __init__(self, path, extra)
def __init__(self, extra)
def __init__(self, pool, key, item, extra)
def __init__(self, path, pid, extra)
def __init__(self, kind, name, details, extra)
def __init__(self, pool, subject, extra)
def __init__(self, pool, subject, collision, extra)