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.
See Also
- GearmanWorker::getErrno() - Get errno
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmanworker.error.php