GoLang yp_errno

request it (278)
GoLang replacement for PHP's yp_errno [edit | history]

Do you know a GoLang replacement for PHP's yp_errno? Write it!

PHP yp_errno

PHP original manual for yp_errno [ show | php.net ]


(PHP 4 >= 4.0.6, PHP 5 < 5.1.0)

yp_errnoReturns the error code of the previous operation


int yp_errno ( void )

Returns the error code of the previous operation.

Return Values

Returns one of the YPERR_XXX error constants.

See Also

  • yp_err_string() - Returns the error string associated with the given error code