GearmanJob::sendException
(PECL gearman >= 0.6.0)
GearmanJob::sendException — Send exception for running job (exception)
說明
public GearmanJob::sendException(string $exception
): bool
參數(shù)
-
exception
-
An exception description.
返回值
成功時(shí)返回 true
, 或者在失敗時(shí)返回 false
。