]> git.ipfire.org Git - oddments/ddns.git/commitdiff
Add class to raise configuration errors.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 8 Jun 2014 16:00:00 +0000 (18:00 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 8 Jun 2014 20:30:00 +0000 (22:30 +0200)
ddns/errors.py

index 018ff9cd550344dcbbf07bbbe5881d5c9e468b91..1803c98e197c8da92af6f9c6f9e9ae8ffc29080b 100644 (file)
@@ -39,6 +39,14 @@ class DDNSAuthenticationError(DDNSError):
        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