From: Stefan Schantl Date: Tue, 10 Jun 2014 15:08:51 +0000 (+0200) Subject: Add an error class in case a ddns provider has blocked our client. X-Git-Tag: 001~73 X-Git-Url: http://git.ipfire.org/?p=oddments%2Fddns.git;a=commitdiff_plain;h=dcd7fc54adef32a4dfbe212b61e98526bcb6151d Add an error class in case a ddns provider has blocked our client. --- diff --git a/src/ddns/errors.py b/src/ddns/errors.py index 1803c98..2a6f4a9 100644 --- a/src/ddns/errors.py +++ b/src/ddns/errors.py @@ -39,6 +39,15 @@ class DDNSAuthenticationError(DDNSError): pass +class DDNSBlockedError(DDNSError): + """ + Thrown when the dynamic update client + (specified by the user-agent) has been blocked + by a dynamic DNS provider. + """ + pass + + class DDNSConfigurationError(DDNSError): """ Thrown when invalid or insufficient