From: Stefan Schantl Date: Sun, 8 Jun 2014 16:00:00 +0000 (+0200) Subject: Add class to raise configuration errors. X-Git-Tag: 001~77^2~1 X-Git-Url: http://git.ipfire.org/?p=ddns.git;a=commitdiff_plain;h=2e2be9dfdd8f28ff1d7f1b05ed67f8c02e197daf Add class to raise configuration errors. --- diff --git a/ddns/errors.py b/ddns/errors.py index 018ff9c..1803c98 100644 --- a/ddns/errors.py +++ b/ddns/errors.py @@ -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