= 0.6.0)GearmanJob::sendException — Send exception for running job (exception)說明public GearmanJob::sendExcepti">

GearmanJob::sendException

(PECL gearman >= 0.6.0)

GearmanJob::sendExceptionSend exception for running job (exception)

說明

public GearmanJob::sendException(string $exception): bool

Sends the supplied exception when this job is running.

參數(shù)

exception

An exception description.

返回值

成功時(shí)返回 true, 或者在失敗時(shí)返回 false。

參見