Standalone 2.0

This commit is contained in:
Jakub Warmuz
2015-09-26 17:43:59 +00:00
parent ef3605730c
commit faa6cbdd71
10 changed files with 228 additions and 907 deletions
+10
View File
@@ -80,3 +80,13 @@ class NotSupportedError(PluginError):
class RevokerError(Error):
"""Let's Encrypt Revoker error."""
class StandaloneBindError(Error):
"""Standalone plugin bind error."""
def __init__(self, socket_error, port):
super(StandaloneBindError, self).__init__(
"Problem binding to port {0}: {1}".format(port, socket_error))
self.socket_error = socket_error
self.port = port