# GearmanClient::error

(PECL gearman >= 0.5.0)

GearmanClient::error — Returns an error string for the last error encountered

### 说明

public GearmanClient::error(): string|false

Returns an error string for the last error encountered.

### 参数

此函数没有参数。

### 返回值

A human readable error string, or `false` if there is no error message available.

### 参见

- GearmanClient::getErrno() - Get an errno value

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