Php/docs/gearmanworker.error
From Get docs
GearmanWorker::error
(PECL gearman >= 0.5.0)
GearmanWorker::error — Get the last error encountered
Description
public GearmanWorker::error ( ) : string
Returns an error string for the last error encountered.
Parameters
This function has no parameters.
Return Values
An error string.