array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.yaz-error.php', 1 => 'yaz_error', ), 'up' => array ( 0 => 'ref.yaz.php', 1 => 'YAZ 函数', ), 'prev' => array ( 0 => 'function.yaz-errno.php', 1 => 'yaz_errno', ), 'next' => array ( 0 => 'function.yaz-es-result.php', 1 => 'yaz_es_result', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/yaz/functions/yaz-error.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.1, PECL yaz >= 0.9.0)
yaz_error — Returns error description
yaz_error() returns an English text message corresponding to the last error number as returned by yaz_errno().
Returns an error text message for server (last request), identified by
parameter id
. An empty string is returned if the
last operation was successful.