/usr/lib/python3/dist-packages/certbot
NameSizeModeActions
compat/-0755rm
display/-0755rm
plugins/-0755rm
tests/-0755rm
__pycache__/-0755rm
account.py139570644editdlrm
achallenges.py16240644editdlrm
auth_handler.py188600644editdlrm
cert_manager.py153700644editdlrm
cli.py725250644editdlrm
client.py303640644editdlrm
configuration.py58110644editdlrm
constants.py67620644editdlrm
crypto_util.py162270644editdlrm
eff.py31380644editdlrm
errors.py26550644editdlrm
error_handler.py70860644editdlrm
hooks.py90510644editdlrm
interfaces.py220420644editdlrm
lock.py97840644editdlrm
log.py127240644editdlrm
main.py499920644editdlrm
notify.py10640644editdlrm
ocsp.py131370644editdlrm
renewal.py213880644editdlrm
reporter.py35470644editdlrm
reverter.py245460644editdlrm
ssl-dhparams.pem4240644editdlrm
storage.py460740644editdlrm
updater.py39540644editdlrm
util.py195480644editdlrm
__init__.py1140644editdlrm
Edit: /usr/lib/python3/dist-packages/certbot/errors.py (2655B)
"""Certbot client errors.""" class Error(Exception): """Generic Certbot client error.""" class AccountStorageError(Error): """Generic `.AccountStorage` error.""" class AccountNotFound(AccountStorageError): """Account not found error.""" class ReverterError(Error): """Certbot Reverter error.""" class SubprocessError(Error): """Subprocess handling error.""" class CertStorageError(Error): """Generic `.CertStorage` error.""" class HookCommandNotFound(Error): """Failed to find a hook command in the PATH.""" class SignalExit(Error): """A Unix signal was received while in the ErrorHandler context manager.""" class OverlappingMatchFound(Error): """Multiple lineages matched what should have been a unique result.""" class LockError(Error): """File locking error.""" # Auth Handler Errors class AuthorizationError(Error): """Authorization error.""" class FailedChallenges(AuthorizationError): """Failed challenges error. :ivar set failed_achalls: Failed `.AnnotatedChallenge` instances. """ def __init__(self, failed_achalls): assert failed_achalls self.failed_achalls = failed_achalls super(FailedChallenges, self).__init__() def __str__(self): return "Failed authorization procedure. {0}".format( ", ".join( "{0} ({1}): {2}".format(achall.domain, achall.typ, achall.error) for achall in self.failed_achalls if achall.error is not None)) # Plugin Errors class PluginError(Error): """Certbot Plugin error.""" class PluginEnhancementAlreadyPresent(Error): """ Enhancement was already set """ class PluginSelectionError(Error): """A problem with plugin/configurator selection or setup""" class NoInstallationError(PluginError): """Certbot No Installation error.""" class MisconfigurationError(PluginError): """Certbot Misconfiguration error.""" class NotSupportedError(PluginError): """Certbot Plugin function not supported error.""" class PluginStorageError(PluginError): """Certbot Plugin Storage 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 class ConfigurationError(Error): """Configuration sanity error.""" # NoninteractiveDisplay iDisplay plugin error: class MissingCommandlineFlag(Error): """A command line argument was missing in noninteractive usage"""