Method Protocols.LDAP.protocol()->error_number()


Method error_number

int error_number()

Description

Returns the error number from the last transaction. If the error is LDAP_SERVER_DOWN then there was a socket error, and the I/O error number can be retrieved using ldapfd->errno().

See also

error_string, server_error_string