Add a reason to the NotFound exception so we can provide more robust errors

This commit is contained in:
Rob Crittenden
2009-05-08 11:15:45 -04:00
parent de88954b91
commit 1c31b5bc08
8 changed files with 22 additions and 22 deletions

View File

@@ -739,7 +739,7 @@ class NotFound(ExecutionError):
"""
errno = 4001
format = _('entry not found')
format = _('%(reason)r')
class DuplicateEntry(ExecutionError):
"""