GearmanWorker::error

(PECL gearman >= 0.5.0)

GearmanWorker::errorGet the last error encountered

说明

public GearmanWorker::error ( void ) : string

Returns an error string for the last error encountered.

参数

此函数没有参数。

返回值

An error string.

参见