X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdak_exceptions.py;h=e111afddb874c6a5a6cefcb01d0e950be6a7f027;hb=391f5ec09a119131dc846b796ca791f4cecc69e4;hp=d18bee1e6f1691c6940268175fddcd9fa18b1e17;hpb=9f371390bb90395b2f2f0b65c91c21047896774a;p=dak.git diff --git a/daklib/dak_exceptions.py b/daklib/dak_exceptions.py old mode 100755 new mode 100644 index d18bee1e..e111afdd --- a/daklib/dak_exceptions.py +++ b/daklib/dak_exceptions.py @@ -58,7 +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?""", - "DBUpdateError": """Exception raised - could not update the database""" + "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""", + "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):