yaz_errno
yaz_es_result
YAZ Functions
PHP Manual

# yaz_error

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

yaz_error — Returns error description

### Description

int yaz_error ( int `$id` )

Returns error message for target (last request). An empty string is returned if last operation was a success.

yaz_error() returns a english message corresponding to the last error number as returned by yaz_errno().

yaz_errno
yaz_es_result
YAZ Functions
PHP Manual