]>
git.ipfire.org Git - ddns.git/blob - src/ddns/errors.py
2 ###############################################################################
4 # ddns - A dynamic DNS client for IPFire #
5 # Copyright (C) 2012 IPFire development team #
7 # This program is free software: you can redistribute it and/or modify #
8 # it under the terms of the GNU General Public License as published by #
9 # the Free Software Foundation, either version 3 of the License, or #
10 # (at your option) any later version. #
12 # This program is distributed in the hope that it will be useful, #
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
15 # GNU General Public License for more details. #
17 # You should have received a copy of the GNU General Public License #
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
20 ###############################################################################
22 class DDNSError(Exception):
26 class DDNSAbuseError(DDNSError
):
28 Thrown when the server reports
29 abuse for this account.
34 class DDNSAuthenticationError(DDNSError
):
36 Thrown when the server did not
37 accept the user credentials.
42 class DDNSConfigurationError(DDNSError
):
44 Thrown when invalid or insufficient
45 data is provided by the configuration file.
50 class DDNSInternalServerError(DDNSError
):
52 Thrown when the remote server reported
53 an error on the provider site.
58 class DDNSRequestError(DDNSError
):
60 Thrown when a request could
61 not be properly performed.
66 class DDNSUpdateError(DDNSError
):
68 Thrown when an update could not be