X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/6f9f028c43f77c76a0ac6d4f4f7223e5c6e2ba64..031a757fb7b600a9015d018011cc7b135d7c8627:/services/dhcp/__init__.py diff --git a/services/dhcp/__init__.py b/services/dhcp/__init__.py index f490422..08bb8b5 100644 --- a/services/dhcp/__init__.py +++ b/services/dhcp/__init__.py @@ -24,7 +24,8 @@ except ImportError: return f return wrapper -__ALL__ = ('DhcpHandler',) +__ALL__ = ('DhcpHandler', 'Error', 'HostError', 'HostAlreadyExistsError', + 'HostNotFoundError', 'ParameterError', 'ParameterNotFoundError') pickle_ext = '.pkl' pickle_vars = 'vars' @@ -36,7 +37,7 @@ template_dir = path.join(path.dirname(__file__), 'templates') class Error(HandlerError): r""" - Error(command) -> Error instance :: Base DhcpHandler exception class. + Error(message) -> Error instance :: Base DhcpHandler exception class. All exceptions raised by the DhcpHandler inherits from this one, so you can easily catch any DhcpHandler exception.