Module simple_acme_dns.errors

Custom exception classes for simple_acme_dns.

Classes

class ACMETimeout (message: str)
Expand source code
class ACMETimeout(Exception):
    """Error occurs when the max time has been exceeded waiting for an ACME server event"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when the max time has been exceeded waiting for an ACME server event

Ancestors

  • builtins.Exception
  • builtins.BaseException
class ChallengeUnavailable (message: str)
Expand source code
class ChallengeUnavailable(Exception):
    """Error occurs when the requested ACME server does not offer the DNS-01 challenge"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when the requested ACME server does not offer the DNS-01 challenge

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidAccount (message: str)
Expand source code
class InvalidAccount(Exception):
    """Error occurs when requests are made to the ACME server without registration"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when requests are made to the ACME server without registration

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidCSR (message: str)
Expand source code
class InvalidCSR(Exception):
    """Error occurs when the requested CSR rtype is unsupported"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when the requested CSR rtype is unsupported

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidCertificate (message: str)
Expand source code
class InvalidCertificate(Exception):
    """Error occurs when the certificate is invalid or does not exist."""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when the certificate is invalid or does not exist.

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidDomain (message: str)
Expand source code
class InvalidDomain(Exception):
    """Error occurs when requests are made to the ACME server without a domains"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when requests are made to the ACME server without a domains

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidEmail (message: str)
Expand source code
class InvalidEmail(Exception):
    """Error occurs when an account action was requested but no email value exists"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when an account action was requested but no email value exists

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidKeyType (message: str)
Expand source code
class InvalidKeyType(Exception):
    """Error occurs when the requested private key rtype is unsupported"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when the requested private key rtype is unsupported

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidPath (message: str)
Expand source code
class InvalidPath(Exception):
    """Error occurs when a request file path does not exist"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when a request file path does not exist

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidPrivateKey (message)
Expand source code
class InvalidPrivateKey(Exception):
    """Error occurs when the private key is used before it has been generated."""

    def __init__(self, message) -> None:
        self.message = message

Error occurs when the private key is used before it has been generated.

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidProfile (message: str)
Expand source code
class InvalidProfile(Exception):
    """Error occurs when an ACME profile is requested but is not advertised by the server"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when an ACME profile is requested but is not advertised by the server

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidUserAgent (message: str)
Expand source code
class InvalidUserAgent(Exception):
    """Error occurs when the requested user agent is invalid or not supported"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when the requested user agent is invalid or not supported

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidVerificationToken (message: str)
Expand source code
class InvalidVerificationToken(Exception):
    """Error occurs when the client object does not contain required verification tokens"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when the client object does not contain required verification tokens

Ancestors

  • builtins.Exception
  • builtins.BaseException
class OrderNotFound (message: str)
Expand source code
class OrderNotFound(Exception):
    """Error occurs when the requested ACME server does not offer the DNS-01 challenge"""

    def __init__(self, message: str) -> None:
        self.message = message

Error occurs when the requested ACME server does not offer the DNS-01 challenge

Ancestors

  • builtins.Exception
  • builtins.BaseException