From dcd7fc54adef32a4dfbe212b61e98526bcb6151d Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 10 Jun 2014 17:08:51 +0200 Subject: [PATCH] Add an error class in case a ddns provider has blocked our client. --- src/ddns/errors.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.39.2