projects
/
oddments
/
ddns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3027039
)
Add class to raise configuration errors.
author
Stefan Schantl
<stefan.schantl@ipfire.org>
Sun, 8 Jun 2014 16:00:00 +0000
(18:00 +0200)
committer
Stefan Schantl
<stefan.schantl@ipfire.org>
Sun, 8 Jun 2014 20:30:00 +0000
(22:30 +0200)
ddns/errors.py
patch
|
blob
|
blame
|
history
diff --git
a/ddns/errors.py
b/ddns/errors.py
index
018ff9c
..
1803c98
100644
(file)
--- 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