GearmanJob::sendException
(PECL gearman >= 0.6.0)
GearmanJob::sendException — Send exception for running job (exception)
Descrição
public bool GearmanJob::sendException
( string
$exception
)Sends the supplied exception when this job is running.
Parâmetros
-
exception -
An exception description.
Valor Retornado
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
Veja Também
- GearmanJob::setReturn() - Set a return value
- GearmanJob::sendStatus() - Send status
- GearmanJob::sendWarning() - Send a warning