GearmanJob::sendFail

Send fail status

Beschreibung

public bool GearmanJob::sendFail ( void )

Sends failure status for this job, indicating that the job failed in a known way (as opposed to failing due to a thrown exception).

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Siehe auch

  • GearmanJob::sendException
  • GearmanJob::setReturn
  • GearmanJob::sendStatus
  • GearmanJob::sendWarning