Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""LICENSE
2Copyright 2016 Hermann Krumrey <hermann@krumreyh.com>
4This file is part of xdcc-dl.
6xdcc-dl is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation, either version 3 of the License, or
9(at your option) any later version.
11xdcc-dl is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
16You should have received a copy of the GNU General Public License
17along with xdcc-dl. If not, see <http://www.gnu.org/licenses/>.
18LICENSE"""
21class InvalidCTCPException(Exception):
22 """
23 Exception thrown when an invalid CTCP DCC message type is received
24 """
25 pass
28class AlreadyDownloadedException(Exception):
29 """
30 Exception thrown when a file was already downloaded
31 """
32 pass
35class DownloadCompleted(Exception):
36 """
37 Exception thrown once the download has been completed
38 """
39 pass
42class DownloadIncomplete(Exception):
43 """
44 Exception thrown if a download did not complete
45 """
46 pass
49class PackAlreadyRequested(Exception):
50 """
51 Exception raised if a pack was already requested
52 """
55class UnrecoverableError(Exception):
56 """
57 Exception raised when an unrecoverable error occurs
58 """
61class Timeout(UnrecoverableError):
62 """
63 Exception raised when a timeout occurs
64 """
67class BotDoesNotExist(UnrecoverableError):
68 """
69 Exception raised if a bot does not exist
70 """