notmuch/bindings
Sebastian Spaeth 8c51525e82 python: rework creating of Subclasses
Add some smart magic, so that when we invoke a
NotmuchError(STATUSVALUE), a nicely derived subclass is created, e.g. a
OutOfMemoryError. This way users can easily distinguish between error
types, while still catching NotmuchError.

I have tested this, and hope it works for others too.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-09-30 16:04:42 +02:00
..
go update for go-release-2011-02-01: 2011-02-03 09:36:58 +01:00
python python: rework creating of Subclasses 2011-09-30 16:04:42 +02:00
ruby ruby: New exception Notmuch::UnbalancedAtomicError 2011-09-24 15:54:45 +03:00