GearmanJob::sendException
PHP Manual
PHP Manual»GearmanJob»GearmanJob::sendException

GearmanJob::sendException

(PECL gearman >= 0.6.0)

GearmanJob::sendException — Send exception for running job (exception)

Опис

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

Sends the supplied exception when this job is running.

Параметри

exception

An exception description.

Значення, що повертаються

Повертає true у разі успіху або false в разі помилки.

Прогляньте також

To Top