Re: Improve the accuracy of local provider error reporting
- From: Philip Van Hoof <spam pvanhoof be>
- To: Sergio Villar Senin <svillar igalia com>
- Cc: tinymail-devel-list <tinymail-devel-list gnome org>
- Subject: Re: Improve the accuracy of local provider error reporting
- Date: Fri, 25 Apr 2008 14:15:32 +0200
On Fri, 2008-04-25 at 13:57 +0200, Sergio Villar Senin wrote:
> Sergio Villar Senin escribiu:
> > Hi,
> >
> > this patch sets the error CAMEL_EXCEPTION_FOLDER_CREATE instead of
> > CAMEL_EXCEPTION_STORE_NO_FOLDER when the get_folder method is called
> > with CAMEL_STORE_FOLDER_CREATE flag by create_folder.
> >
> > This way we'll get a TNY_SERVICE_ERROR_FOLDER_CREATE instead of a
> > TNY_SERVICE_ERROR_FOLDER_IS_UNKNOWN
>
> Maybe we could do the same for camel-maildir-store.c:148, where the
> mkdir is failing.
That's actually an IO error, not a FOLDER_CREATE error, because we can
be more specific. There's a CamelException error code for IO errors by
the way.
--
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
http://pvanhoof.be/blog
http://codeminded.be
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]