GearmanJob::exception
(PECL gearman <= 0.5.0)
GearmanJob::exception — ارسال استثنا برای کار اجرایی (از رده خارج)
Description
public bool GearmanJob::exception
( string $exception
)
ارسال استثنا فراهم شده هنگام اجرای کار.
Note:
این متد با استفاده از GearmanJob::sendException() در 0.6.0 ضمیمه Gearman جایگزین شده است.
Parameters
- exception
-
توضیحدهنده استثنا.
Return Values
Returns TRUE on success or FALSE on failure.
See Also
- GearmanJob::setReturn() - Set a return value
- GearmanJob::sendStatus() - Send status
- GearmanJob::sendWarning() - Send a warning
There are no user contributed notes for this page.
