ldapper.exceptions¶
-
exception
ldapper.exceptions.LdapperError[source]¶ Bases:
ExceptionBase class for exceptions in this module.
A msg MUST be provided.
-
exception
ldapper.exceptions.AddDNFailed(dn)[source]¶ Bases:
ldapper.exceptions.LdapperErrorException raised when we failed to add a DN to the LDAP
-
dn -- DN that failed to be added
-
msg -- explanation of the error
-
-
exception
ldapper.exceptions.ArgumentError(msg)[source]¶ Bases:
ldapper.exceptions.LdapperErrorException raised when the arguments to a function are invalid
-
msg -- explanation of the error
-
-
exception
ldapper.exceptions.DuplicateValue(attr, value)[source]¶ Bases:
ldapper.exceptions.LdapperErrorTried to write a duplicate value to the LDAP
-
attr -- Attribute name
-
value -- Attribute value
-
-
exception
ldapper.exceptions.NoSuchAttrValue(dn, attribute, value)[source]¶ Bases:
ldapper.exceptions.LdapperErrorException raised when a DN does not have a given value.
-
dn -- the DN that did not exist
-
attribute -- the attribute that is not present
-
value -- the value that the attribute was expected to have
-
msg -- explanation of the error
-
-
exception
ldapper.exceptions.NoSuchDN(dn)[source]¶ Bases:
ldapper.exceptions.LdapperErrorException raised when a DN does not exist.
-
dn -- the DN that did not exist
-
msg -- explanation of the error
-
-
exception
ldapper.exceptions.InvalidDN(obj, name, dn)[source]¶ Bases:
ldapper.exceptions.LdapperErrorException raised when a DN does not meet RFC 4514 syntax
-
dn -- the invalid dn
-
msg -- explanation of the error
-