Skip to content

Document the LDAPError fields #355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 18, 2020
Merged

Conversation

encukou
Copy link
Member

@encukou encukou commented Jun 18, 2020

Looking at the list of changfes, I realized the LDAPError info dict if poorly documented. This should help.

Also, this corrects the note on COMPARE_FALSE and COMPARE_TRUE, which was contradicting the 'msgid' doc.

Also, correct the note on COMPARE_FALSE and COMPARE_TRUE
- All fields are optional and more fields may be added in the future
- desc might not be English. It comes from ldap_err2string
- info is server-specific
- there is errno, no errnum
@encukou
Copy link
Member Author

encukou commented Jun 18, 2020

Alright! Hopefully this wording explains it well.

Copy link
Member

@tiran tiran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better than before, thanks! 👍

@encukou encukou merged commit 578b0b7 into python-ldap:master Jun 18, 2020
@encukou encukou deleted the doc-error branch June 18, 2020 14:05
@encukou
Copy link
Member Author

encukou commented Jun 18, 2020

Much better than before

Mostly thanks to your comments! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants