(PECL gearman >= 0.6.0)
GearmanJob::sendException — Send exception for running job (exception)
$exception
)Sends the supplied exception when this job is running.
exception
An exception description.
Возвращает TRUE
в случае успешного завершения или FALSE
в случае возникновения ошибки.