(PECL gearman <= 0.5.0)
GearmanJob::exception — 傳送執行中工作的例外 (已棄用)
$exception
當此工作正在執行時,傳送提供的例外。
注意: 此方法已在 Gearman 擴充套件 0.6.0 版本中由 GearmanJob::sendException() 取代。
注意:
此方法已在 Gearman 擴充套件 0.6.0 版本中由 GearmanJob::sendException() 取代。
exception
例外說明。
成功時回傳 true,失敗時回傳 false。
true
false