]>
Commit | Line | Data |
---|---|---|
f22ab085 MT |
1 | #!/usr/bin/python |
2 | ||
3 | class DDNSError(Exception): | |
4 | pass | |
5 | ||
6 | ||
7 | class DDNSAbuseError(DDNSError): | |
8 | """ | |
9 | Thrown when the server reports | |
10 | abuse for this account. | |
11 | """ | |
12 | pass | |
13 | ||
14 | ||
15 | class DDNSAuthenticationError(DDNSError): | |
16 | """ | |
17 | Thrown when the server did not | |
18 | accept the user credentials. | |
19 | """ | |
20 | pass | |
21 | ||
22 | ||
23 | class DDNSInternalServerError(DDNSError): | |
24 | """ | |
25 | Thrown when the remote server reported | |
26 | an error on the provider site. | |
27 | """ | |
28 | pass | |
29 | ||
30 | ||
31 | class DDNSRequestError(DDNSError): | |
32 | """ | |
33 | Thrown when a request could | |
34 | not be properly performed. | |
35 | """ | |
36 | pass | |
37 | ||
38 | ||
39 | class DDNSUpdateError(DDNSError): | |
40 | """ | |
41 | Thrown when an update could not be | |
42 | properly performed. | |
43 | """ | |
44 | pass |