GoLang yaz_error

request it (134)
GoLang replacement for PHP's yaz_error [edit | history]



Do you know a GoLang replacement for PHP's yaz_error? Write it!

PHP yaz_error

PHP original manual for yaz_error [ show | php.net ]

yaz_error

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

yaz_errorReturns error description

Description

string yaz_error ( resource $id )

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

Parameters

id

The connection resource returned by yaz_connect().

Return Values

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

See Also