2014-11-21 13:10:33 -05:00
|
|
|
"""Let's Encrypt client errors."""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class LetsEncryptClientError(Exception):
|
|
|
|
|
"""Generic Let's Encrypt client error."""
|
2014-11-29 19:05:18 -05:00
|
|
|
|
|
|
|
|
|
2015-01-19 06:15:31 -05:00
|
|
|
class LetsEncryptReverterError(LetsEncryptClientError):
|
|
|
|
|
"""Let's Encrypt Reverter error."""
|
|
|
|
|
|
|
|
|
|
|
2015-01-29 22:35:31 -05:00
|
|
|
# Auth Handler Errors
|
2015-01-10 08:19:22 -05:00
|
|
|
class LetsEncryptAuthHandlerError(LetsEncryptClientError):
|
|
|
|
|
"""Let's Encrypt Auth Handler error."""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class LetsEncryptClientAuthError(LetsEncryptAuthHandlerError):
|
2015-01-24 05:15:23 -05:00
|
|
|
"""Let's Encrypt Client Authenticator error."""
|
2015-01-10 08:19:22 -05:00
|
|
|
|
|
|
|
|
|
2015-01-29 22:35:31 -05:00
|
|
|
class LetsEncryptDvAuthError(LetsEncryptAuthHandlerError):
|
|
|
|
|
"""Let's Encrypt DV Authenticator error."""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Authenticator - Challenge specific errors
|
|
|
|
|
class LetsEncryptDvsniError(LetsEncryptDvAuthError):
|
|
|
|
|
"""Let's Encrypt DVSNI error."""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Configurator Errors
|
2014-12-03 07:31:01 -05:00
|
|
|
class LetsEncryptConfiguratorError(LetsEncryptClientError):
|
2015-01-10 08:19:22 -05:00
|
|
|
"""Let's Encrypt Configurator error."""
|
2014-12-03 07:31:01 -05:00
|
|
|
|
|
|
|
|
|
2015-01-24 05:15:23 -05:00
|
|
|
class LetsEncryptNoInstallationError(LetsEncryptConfiguratorError):
|
|
|
|
|
"""Let's Encrypt No Installation error."""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class LetsEncryptMisconfigurationError(LetsEncryptConfiguratorError):
|
|
|
|
|
"""Let's Encrypt Misconfiguration error."""
|
2015-01-19 06:15:31 -05:00
|
|
|
|