From 2e2be9dfdd8f28ff1d7f1b05ed67f8c02e197daf Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 8 Jun 2014 18:00:00 +0200 Subject: [PATCH 1/1] Add class to raise configuration errors. --- ddns/errors.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.2