Re: fourth batch of API cleanup for exception handling

2020-07-20 Thread David Bremner
David Bremner  writes:

> This continues
>
>  id:20200705130025.4057292-1-da...@tethera.net
>
> and probably needs to be applied on top of it.

Batch applied to master

d
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


fourth batch of API cleanup for exception handling

2020-07-08 Thread David Bremner
This continues

 id:20200705130025.4057292-1-da...@tethera.net

and probably needs to be applied on top of it.

There are a couple cases here where we use the NULL returns from
previous API changes and convert it back into
NOTMUCH_STATUS_XAPIAN_EXCEPTION. It isn't the most lovely error path,
but it works.

I guess an enhancement would be to have some kind of errno set as
Floris mentioned. We'd still want the NULL returns to signal an error
however, so I think that could be done incrementally.

This completes (I think) the changes needed for message.cc

d
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org