On Wed, Aug 01, 2001 at 05:09:03PM +0200, Graham Leggett wrote: > Ian Holsman wrote: > > > I mentioned this a while back > > (as I too would like 1 apr_strerror to register callbacks) but > > the consensus was that each library should take care of it self > > This is yucky - often you want a generic error handling that will print > an error regardless of whether it originated in the OS, or some other > library.
While I think rbb had some suggestion for handling extension of APR's error codes (did you?), on retrospect, it is probably better just to have your own APR_LDAP_ERROR_* #defines. And, your own apr_ldap_strtoerror. I can't think of a better solution right now. -- justin
