# yaz_addinfo

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

yaz_addinfo — Returns additional error information

### 说明

yaz_addinfo ( resource `$id` ) : string

Returns additional error information for the last request on the server.

With some servers, this function may return the same string as yaz_error().

### 参数

`id`

  The connection resource returned by yaz_connect().

### 返回值

A string containing additional error information or an empty string if the last operation was successful or if no additional information was provided by the server.

### 参见

- yaz_error() - Returns error description
- yaz_errno() - Returns error number