# Errors

ACME errors.

exception `acme.errors.``Error`

  Bases: `exceptions.Exception`

  Generic ACME error.

exception `acme.errors.``SchemaValidationError`

  Bases: `acme.jose.errors.DeserializationError`

  JSON schema ACME object validation error.

exception `acme.errors.``ClientError`

  Bases: `acme.errors.Error`

  Network error.

exception `acme.errors.``UnexpectedUpdate`

  Bases: `acme.errors.ClientError`

  Unexpected update error.

exception `acme.errors.``NonceError`

  Bases: `acme.errors.ClientError`

  Server response nonce error.

exception `acme.errors.``BadNonce`(nonce, error, *args, **kwargs)

  Bases: `acme.errors.NonceError`

  Bad nonce error.

exception `acme.errors.``MissingNonce`(response, *args, **kwargs)

  Bases: `acme.errors.NonceError`

  Missing nonce error.

  According to the specification an “ACME server MUST include an Replay-Nonce header field in each successful response to a POST it provides to a client (...)”.

  Variables: | response (requests.Response) – HTTP Response

exception `acme.errors.``PollError`(exhausted, updated)

  Bases: `acme.errors.ClientError`

  Generic error when polling for authorization fails.

  This might be caused by either timeout (`exhausted` will be non-empty) or by some authorization being invalid.

  Variables:

  - exhausted – Set of `AuthorizationResource` that didn’t finish within max allowed attempts.
  - updated – Mapping from original `AuthorizationResource` to the most recently updated one

  `timeout`

    Was the error caused by timeout?