1.5. Exceptions¶
-
exception
acmems.exceptions.AcmeException¶ Bases:
ExceptionBase exception call to be able to catch all ACMEMS specific errors
-
exception
acmems.exceptions.NoChallengeMethodsSupported¶ Bases:
acmems.exceptions.AcmeExceptionThe domain can not be validated HTTP01
-
exception
acmems.exceptions.ChallengeFailed(domain, message, challenge_uri)¶ Bases:
acmems.exceptions.AcmeExceptionThe challenge to validate the requested domain failed.
Variables:
-
exception
acmems.exceptions.ChallengesUnknownStatus¶ Bases:
acmems.exceptions.AcmeExceptionWe do not known the status of the challenge. No clue what to do
-
exception
acmems.exceptions.AuthorizationNotYetProcessed(wait_until)¶ Bases:
acmems.exceptions.AcmeExceptionThe authorization is be processed; until the next refresh it should at least be wait until
wait_untilVariables: wait_until (datetime.datetime) – first allowed retry time
-
exception
acmems.exceptions.AuthorizationNotYetRequested(event)¶ Bases:
acmems.exceptions.AcmeExceptionThe newly created authorization challenge, was installed, but has not yet been requested by any client and is therefore currently pending or invalid.
Variables: event (threading.Event) – event that will be signaled if someone requests the challenge.
-
exception
acmems.exceptions.RateLimited¶ Bases:
acmems.exceptions.AcmeExceptionTo many requests
-
exception
acmems.exceptions.AccountError¶ Bases:
acmems.exceptions.AcmeExceptionGeneric account error - e.g. - could not read private key - could not refresh the registration
-
exception
acmems.exceptions.NeedToAgreeToTOS(url)¶ Bases:
acmems.exceptions.AccountErrorWe are registered at the ACME server. But to use it, we need to accept the “Terms of Service”
-
exception
acmems.exceptions.InvalidDomainName(domain, detail)¶ Bases:
acmems.exceptions.AcmeExceptionThe domain name is not excepted by the ACME server.
Variables:
-
exception
acmems.exceptions.PayloadToLarge(size, allowed)¶ Bases:
acmems.exceptions.AcmeExceptionThe payload (CSR) it to large
Variables:
-
exception
acmems.exceptions.PayloadInvalid¶ Bases:
acmems.exceptions.AcmeExceptionThe payload is not a valid CSR