]> git.notmuchmail.org Git - notmuch/commitdiff
python: refactor the error handling machinery
authorJustus Winter <4winter@informatik.uni-hamburg.de>
Mon, 20 Feb 2012 22:49:07 +0000 (23:49 +0100)
committerJustus Winter <4winter@informatik.uni-hamburg.de>
Mon, 20 Feb 2012 22:49:07 +0000 (23:49 +0100)
Raise specific error classes instead of a generic NotmuchError with an
magic status value (e.g. NotmuchError(STATUS.NULL_POINTER) ->
NullPointerError()), update the documentation accordingly.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>

No differences found