= 4.0.1, PECL yaz >= 0.9.0)yaz_error — Returns error description說(shuō)明yaz_error(resource $id): stringyaz_error() returns an English text ">

yaz_error

(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0)

yaz_errorReturns error description

說(shuō)明

yaz_error(resource $id): string

yaz_error() returns an English text message corresponding to the last error number as returned by yaz_errno().

參數(shù)

id

The connection resource returned by yaz_connect().

返回值

Returns an error text message for server (last request), identified by parameter id. An empty string is returned if the last operation was successful.

參見(jiàn)