PHP - Manual: GearmanJob::sendException
2024-12-21
(PECL gearman >= 0.6.0)
GearmanJob::sendException — Send exception for running job (exception)
$exception
): boolSends the supplied exception when this job is running.
exception
An exception description.
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/gearmanjob.sendexception.php