certbot/letsencrypt/client/errors.py

53 lines
1.2 KiB
Python
Raw Normal View History

2014-11-21 13:10:33 -05:00
"""Let's Encrypt client errors."""
class LetsEncryptClientError(Exception):
"""Generic Let's Encrypt client error."""
2015-03-24 13:08:25 -04:00
class NetworkError(LetsEncryptClientError):
"""Network error."""
class UnexpectedUpdate(NetworkError):
"""Unexpected update."""
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-04-13 20:33:11 -04:00
class LetsEncryptContAuthError(AuthorizationError):
"""Let's Encrypt Continuity Authenticator error."""
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
class LetsEncryptConfiguratorError(LetsEncryptClientError):
"""Let's Encrypt Configurator error."""
class LetsEncryptNoInstallationError(LetsEncryptConfiguratorError):
"""Let's Encrypt No Installation error."""
class LetsEncryptMisconfigurationError(LetsEncryptConfiguratorError):
"""Let's Encrypt Misconfiguration error."""
2015-02-09 04:43:54 -05:00
class LetsEncryptRevokerError(LetsEncryptClientError):
2015-02-09 05:47:45 -05:00
"""Let's Encrypt Revoker error."""