Gearman GearmanJob::sendException
(PECL gearman >= 0.6.0)
GearmanJob::sendException — 작업 실행에 대한 예외 보내기(예외)
설명
public GearmanJob::sendException(string $exception
): bool
이 작업이 실행 중일 때 제공된 예외를 보냅니다.
매개변수
exception
- 예외 설명입니다.
반환 값
성공하면 true
를, 실패하면 false
를 반환합니다.
기타
- GearmanJob::setReturn() - 반환 값 설정
- GearmanJob::sendStatus() - 상태 보내기
- GearmanJob::sendWarning() - 경고 보내기