]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/dak_exceptions.py
Move the transitions exception into our own class too and use it
[dak.git] / daklib / dak_exceptions.py
index e488ac9dae2d9d88f28317b7b5596b4ab2262212..b52e0657f6285629f9b540cd72908335de1989b6 100644 (file)
@@ -44,13 +44,13 @@ dakerrors = {
     "UnknownFormatError":  """Exception raised for unknown Format: lines in changes files.""",
     "NoFilesFieldError":   """Exception raised for missing files field in dsc/changes.""",
     "CantOpenError":       """Exception raised when files can't be opened.""",
-    "CantOverwriteError":  """Exception raised when files cant be overwritten.""",
+    "CantOverwriteError":  """Exception raised when files can't be overwritten.""",
     "FileExistsError":     """Exception raised when destination file exists.""",
     "SendmailFailedError": """Exception raised when Sendmail invocation failed.""",
-    "NoFreeFilenameError": """Exception raised when no alternate filename was found."""
+    "NoFreeFilenameError": """Exception raised when no alternate filename was found.""",
+    "TransitionsError":    """Exception raised when transitions file can't be parsed."""
 }
 
-
 def construct_dak_exception(name, description):
     class Er(DakError):
         __doc__ = description