David Reid wrote:

For instance, a call to an ldap function fails - it returns APR_EGENERIC
and we call apr_ldap_get_last_error() to get a generic error structure,
which we then pass into apr_err_generic_decode() and get a string with
all the details. More complex than a simple int? Yes. Useful? Yes.

That's three steps, it could be just one.

Figuring out the threading implications of making the error handling non atomic may also be a bit of a nightmare.

Regards,
Graham
--

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to