GearmanJob
PHP Manual

GearmanJob::sendException

(PECL gearman >= 0.6.0)

GearmanJob::sendExceptionSend exception for running job (exception)

Description

public bool GearmanJob::sendException ( string $exception )

Sends the supplied exception when this job is running.

Liste de paramètres

exception

An exception description.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.

Voir aussi


GearmanJob
PHP Manual