yaz_error

(PHP4 >= 4.0.1)

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().