(PECL gearman <= 0.5.0)
GearmanJob::exception — Send exception for running job (deprecated)
$exception
)Sends the supplied exception when this job is running.
Замечание:
This method has been replaced by GearmanJob::sendException() in the 0.6.0 release of the Gearman extension.
exception
An exception description.
Возвращает TRUE
в случае успешного завершения или FALSE
в случае возникновения ошибки.