GearmanWorker::error

Get the last error encountered

Description

public stringfalse GearmanWorker::error()

Returns an error string for the last error encountered.

Parameters

This function has no parameters.

Return Values

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

See Also

  • GearmanWorker::getErrno