[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: I-D update -- draft-ietf-ldapext-ldap-c-api-04.txt



> > > 11.2.  LDAP Session Handle Options
> >
> > >    LDAP_OPT_ERROR_NUMBER (0x31)
> > >       (...)
> > >            The code of the most recent LDAP error that
> occurred for this
> > >            session.
> >
> > Does that mean "most recent API error/server result code which was not
> > LDAP_SUCCESS"?  How about LDAP_COMPARE_<TRUE/FALSE> (which are not
> > errors)?
>
> You make a good point -- "error" is perhaps the wrong term.  It is a
> result code, really.  LDAP_COMPARE_TRUE/FALSE are the only non-errors
> other than LDAP_SUCCESS I think.  We should clarify the text as you
> suggest.

Don't forget my favorite non-error, the reason I brought up error-reporting
issues a couple weeks back: LDAP_MORE_RESULTS_TO_RETURN