Pike v8.1 release 6

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


Method error_string

string error_string()

Description

Returns the description of the error from the last transaction. This is the error string from the server, or a standard error message corresponding to the error number if the server didn't provide any description.

If error_number returns LDAP_SERVER_DOWN then this is the strerror message corresponding to the I/O error for the connection.

See also

server_error_string, error_number