Query: yaz_errno
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
YAZ_ERRNO(3) 1 YAZ_ERRNO(3) yaz_errno - Returns error numberSYNOPSISint yaz_errno (resource $id)DESCRIPTIONReturns an error number for the server (last request) identified by $id. yaz_errno(3) should be called after network activity for each server - (after yaz_wait(3) returns) to determine the success or failure of the last operation (e.g. search).PARAMETERSo $id - The connection resource returned by yaz_connect(3).RETURN VALUESReturns an error code. The error code is either a Z39.50 diagnostic code (usually a Bib-1 diagnostic) or a client side error code which is generated by PHP/YAZ itself, such as "Connect failed", "Init Rejected", etc.SEE ALSOyaz_error(3), yaz_addinfo(3). PHP Documentation Group YAZ_ERRNO(3)