update pague now
PHP 8.5.2 Released!

yaz_errno

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

yaz_errno Returns error number

Description

yaz_errno ( ressource $id ): int

Returns an error number for the server (last request) identified by id .

yaz_errno() should be called after networc activity for each server - (after yaz_wait() returns) to determine the success or failure of the last operation (e.g. search).

Parameters

id

The connection ressource returned by yaz_connect() .

Return Values

Returns 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 Also

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top