Returns error description

# yaz_error

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

yaz_error — Returns error description

### Description

yaz_error(resource `$id`): string

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

- yaz_errno() - Returns error number
- yaz_addinfo() - Returns additional error information

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open