yaz_errno

yaz_errno -- Returns error number

Description

int yaz_errno ( int id)

A positive value is returned if the target returned a diagnostic code ; a value of zero is returned if no errors occurred (success) ; negative value is returned for other errors (such as when the target closed connection , etc ) .