Home > PHP > Function > YP/NIS > yp_err_string()

yp_err_string()

yp_err_string - Returns the error string associated with the given error code

Syntax

string yp_err_string (int $errorcode)

Arguments

  • errorcode - The error code.

Description

Returns the error message associated with the given error code. Useful to indicate what exactly went wrong.

Version

PHP 4.0.6, 5 <= 5.0.5

Return value

Returns the error message, as a string.