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-03-24 13:08:25 -04:00
|
|
|
class NetworkError(LetsEncryptClientError):
|
|
|
|
|
"""Network error."""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class UnexpectedUpdate(NetworkError):
|
|
|
|
|
"""Unexpected update."""
|
|
|
|
|
|
|
|
|
|
|
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-04-13 20:33:11 -04:00
|
|
|
class AuthorizationError(LetsEncryptClientError):
|
|
|
|
|
"""Authorization error."""
|
2015-01-10 08:19:22 -05:00
|
|
|
|
|
|
|
|
|
2015-04-13 20:33:11 -04:00
|
|
|
class LetsEncryptContAuthError(AuthorizationError):
|
|
|
|
|
"""Let's Encrypt Continuity Authenticator error."""
|
2015-01-10 08:19:22 -05:00
|
|
|
|
|
|
|
|
|
2015-04-13 20:33:11 -04:00
|
|
|
class LetsEncryptDvAuthError(AuthorizationError):
|
2015-01-29 22:35:31 -05:00
|
|
|
"""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
|
|
|
|
2015-02-09 04:43:54 -05:00
|
|
|
|
|
|
|
|
class LetsEncryptRevokerError(LetsEncryptClientError):
|
2015-02-09 05:47:45 -05:00
|
|
|
"""Let's Encrypt Revoker error."""
|