X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdak_exceptions.py;h=4e795461532e6b6284057b5a961ac88d329c83be;hb=b5d21dfae245e479a1dfd261b7f1a9d9bf2e9b99;hp=e488ac9dae2d9d88f28317b7b5596b4ab2262212;hpb=e58b52c00c1a795054d48bbead5aedc5364bfec3;p=dak.git diff --git a/daklib/dak_exceptions.py b/daklib/dak_exceptions.py index e488ac9d..4e795461 100644 --- a/daklib/dak_exceptions.py +++ b/daklib/dak_exceptions.py @@ -44,13 +44,14 @@ 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.""", + "NoSourceFieldError": """Exception raised - we cant find the source - wtf?""" } - def construct_dak_exception(name, description): class Er(DakError): __doc__ = description