GearmanJob::sendException
PHP function
Edit on GitHub ✎
(PECL gearman >= 0.6.0)
Send exception for running job (exception)
Description
GearmanJob::sendException(string $exception): bool
Sends the supplied exception when this job is running.
Parameters
exceptionAn exception description.
Return Values
Success
See Also
GearmanJob::setReturnGearmanJob::sendStatusGearmanJob::sendWarning