]> git.ipfire.org Git - oddments/ddns.git/blobdiff - src/ddns/errors.py
Add an error class in case a ddns provider has blocked our client.
[oddments/ddns.git] / src / ddns / errors.py
index 1803c98e197c8da92af6f9c6f9e9ae8ffc29080b..2a6f4a989907d9c75927620cc9fbf38e9f219df5 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