From d5fd9986de701a2c0036a845c3443ec935a8e273 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Wed, 14 Oct 2015 09:26:59 -0700 Subject: [PATCH] Add rateLimited error type. --- acme/acme/messages.py | 1 + 1 file changed, 1 insertion(+) diff --git a/acme/acme/messages.py b/acme/acme/messages.py index 02ae24c8f..9d4dcbf30 100644 --- a/acme/acme/messages.py +++ b/acme/acme/messages.py @@ -24,6 +24,7 @@ class Error(jose.JSONObjectWithFields, Exception): 'connection': 'The server could not connect to the client for DV', 'dnssec': 'The server could not validate a DNSSEC signed domain', 'malformed': 'The request message was malformed', + 'rateLimited': 'There were too many requests of a given type', 'serverInternal': 'The server experienced an internal error', 'tls': 'The server experienced a TLS error during DV', 'unauthorized': 'The client lacks sufficient authorization',