Query: yp_err_string
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
YP_ERR_STRING(3) 1 YP_ERR_STRING(3) yp_err_string - Returns the error string associated with the given error codeSYNOPSISstring yp_err_string (int $errorcode)DESCRIPTIONReturns the error message associated with the given error code. Useful to indicate what exactly went wrong.PARAMETERSo $errorcode - The error code.RETURN VALUESReturns the error message, as a string.EXAMPLESExample #1 Example for NIS errors <?php echo "Error: " . yp_err_string(yp_errno()); ?>SEE ALSOyp_errno(3). PHP Documentation Group YP_ERR_STRING(3)