projects
/
ddns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3cf1f7
)
Add an error class in case a ddns provider has blocked our client.
author
Stefan Schantl
<stefan.schantl@ipfire.org>
Tue, 10 Jun 2014 15:08:51 +0000
(17:08 +0200)
committer
Stefan Schantl
<stefan.schantl@ipfire.org>
Tue, 10 Jun 2014 15:08:51 +0000
(17:08 +0200)
src/ddns/errors.py
patch
|
blob
|
blame
|
history
diff --git
a/src/ddns/errors.py
b/src/ddns/errors.py
index
1803c98
..
2a6f4a9
100644
(file)
--- a/
src/ddns/errors.py
+++ b/
src/ddns/errors.py
@@
-39,6
+39,15
@@
class DDNSAuthenticationError(DDNSError):
pass
+class DDNSBlockedError(DDNSError):
+ """
+ Thrown when the dynamic update client
+ (specified by the user-agent) has been blocked
+ by a dynamic DNS provider.
+ """
+ pass
+
+
class DDNSConfigurationError(DDNSError):
"""
Thrown when invalid or insufficient