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