1 """
2 Exception classes used in dak
3
4 @contact: Debian FTP Master <ftpmaster@debian.org>
5 @copyright: 2008 Mark Hymers <mhy@debian.org>
6 @license: GNU General Public License version 2 or later
7 """
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
25 """
26 Base class for all simple errors in this module.
27 """
28 pass
29
30
31 -class ParseMaintError(DakError):
32 "Exception raised for errors in parsing a maintainer field."
33 pass
34
35
37 "Exception raised for errors in parsing a changes file."
38 pass
39
40
42 "Exception raised for invalid dsc files."
43 pass
44
45
49
50
52 """Exception raised for missing files field in dsc/changes."""
53 pass
54
55
57 "Exception raised when files can't be overwritten."
58 pass
59
60
62 "Exception raised when Sendmail invocation failed."
63 pass
64
65
67 "Exception raised when no alternate filename was found."
68 pass
69
70
72 "Exception raised when transitions file can't be parsed."
73 pass
74
75
77 "Exception raised - could not update the database"
78 pass
79
80
82 "Exception raised - package already locked by someone else"
83 pass
84