Php/docs/gearmanworker.geterrno
From Get docs
GearmanWorker::getErrno
(PECL gearman >= 0.5.0)
GearmanWorker::getErrno — Get errno
Description
public GearmanWorker::getErrno ( ) : int
Returns the value of errno in the case of a GEARMAN_ERRNO return value.
Parameters
This function has no parameters.
Return Values
A valid errno.