yaz_error

(PHP 4 >= 4.0.1)

yaz_error -- Returns error description

Description

string yaz_error ( resource id)

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

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