Add an error class in case a ddns provider has blocked our client.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 10 Jun 2014 15:08:51 +0000 (17:08 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 10 Jun 2014 15:08:51 +0000 (17:08 +0200)
src/ddns/errors.py

index 1803c98..2a6f4a9 100644 (file)
@@ -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