notmuch/bindings
Justus Winter b6a01735d2 python: provide more exception classes
To make the exception handling more effective in code using the
python bindings it is necessary to differentiate between the
different kind of failures.

Add an exception class for each status code and add a decode
classmethod to the NotmuchError class that acts as a factory.

Import the new classes in __init__.py so they can be easily
imported by anyone.

Patch modifed by Sebastian Spaeth.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2011-09-30 13:58:03 +02:00
..
go update for go-release-2011-02-01: 2011-02-03 09:36:58 +01:00
python python: provide more exception classes 2011-09-30 13:58:03 +02:00
ruby ruby: New exception Notmuch::UnbalancedAtomicError 2011-09-24 15:54:45 +03:00