]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/dak_exceptions.py
NEW
[dak.git] / daklib / dak_exceptions.py
index 33fa5ad3cacde8d62b3475914e03f4fa65ae9df4..ef24fd753ef01bdcbc3e82bad63e2749e94e770d 100755 (executable)
@@ -58,8 +58,11 @@ dakerrors = {
     "NoFreeFilenameError": """Exception raised when no alternate filename was found.""",
     "TransitionsError":    """Exception raised when transitions file can't be parsed.""",
     "NoSourceFieldError":  """Exception raised - we cant find the source - wtf?""",
+    "MissingContents":     """Exception raised - we could not determine contents for this deb""",
     "DBUpdateError":       """Exception raised - could not update the database""",
-    "ChangesUnicodeError": """Exception raised - changes file not properly utf-8 encoded"""
+    "ChangesUnicodeError": """Exception raised - changes file not properly utf-8 encoded""",
+    "AlreadyLockedError":  """Exception raised - package already locked by someone else""",
+    "CantGetLockError":    """Exception raised - lockfile already in use"""
 } #: All dak exceptions
 
 def construct_dak_exception(name, description):