GearmanClient::setFailCallback
Set callback for job failure
Description
public bool GearmanClient::setFailCallback
( callable $callback
)
Parameters
-
callback
-
A function to call
Return Values
Returns TRUE
on success or FALSE
on failure.
See Also
- GearmanClient::setDataCallback
- GearmanClient::setCompleteCallback
- GearmanClient::setCreatedCallback
- GearmanClient::setExceptionCallback
- GearmanClient::setStatusCallback
- GearmanClient::setWarningCallback
- GearmanClient::setWorkloadCallback