[PATCH 7/9] python: provide more exception classes

2011-09-30 Thread Justus Winter
Quoting Sebastian Spaeth (2011-09-30 14:00:36) >On Mon, 26 Sep 2011 03:05:35 +0200, Justus Winter <4winter at >informatik.uni-hamburg.de> wrote: >> To make the exception handling more effective in code using the >> python bindings it is necessary to differentiate between the >> different kind of

[PATCH 7/9] python: provide more exception classes

2011-09-30 Thread Sebastian Spaeth
On Mon, 26 Sep 2011 03:05:35 +0200, Justus Winter <4winter at informatik.uni-hamburg.de> wrote: > To make the exception handling more effective in code using the > python bindings it is necessary to differentiate between the > different kind of failures. [master b6a0173] python: provide more exce

Re: [PATCH 7/9] python: provide more exception classes

2011-09-30 Thread Justus Winter
Quoting Sebastian Spaeth (2011-09-30 14:00:36) >On Mon, 26 Sep 2011 03:05:35 +0200, Justus Winter ><4win...@informatik.uni-hamburg.de> wrote: >> To make the exception handling more effective in code using the >> python bindings it is necessary to differentiate between the >> different kind of fai

Re: [PATCH 7/9] python: provide more exception classes

2011-09-30 Thread Sebastian Spaeth
On Mon, 26 Sep 2011 03:05:35 +0200, Justus Winter <4win...@informatik.uni-hamburg.de> wrote: > To make the exception handling more effective in code using the > python bindings it is necessary to differentiate between the > different kind of failures. [master b6a0173] python: provide more excepti

[PATCH 7/9] python: provide more exception classes

2011-09-26 Thread Justus Winter
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 classe

[PATCH 7/9] python: provide more exception classes

2011-09-26 Thread Justus Winter
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 classe