Add class to raise configuration errors.
[oddments/ddns.git] / ddns / errors.py
index 018ff9c..1803c98 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