]> git.ipfire.org Git - ddns.git/blobdiff - src/ddns/errors.py
Add an error class in case a ddns provider has blocked our client.
[ddns.git] / src / ddns / errors.py
index 018ff9cd550344dcbbf07bbbe5881d5c9e468b91..2a6f4a989907d9c75927620cc9fbf38e9f219df5 100644 (file)
@@ -39,6 +39,23 @@ 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
+               data is provided by the configuration file.
+       """
+       pass
+
+
 class DDNSInternalServerError(DDNSError):
        """
                Thrown when the remote server reported