Gearman GearmanJob::exception
(PECL gearman <= 0.5.0)
GearmanJob::exception — 실행 중인 작업에 대한 예외 보내기(더 이상 사용되지 않음)
설명
public GearmanJob::exception(string $exception
): bool
이 작업이 실행 중일 때 제공된 예외를 보냅니다.
메모: 이 메소드는 Gearman 확장 0.6.0 릴리스에서 GearmanJob::sendException()으로 대체되었습니다.
매개변수
exception
- 예외 설명입니다.
반환 값
성공하면 true
를, 실패하면 false
를 반환합니다.
기타
- GearmanJob::setReturn() - 반환 값 설정
- GearmanJob::sendStatus() - 상태 보내기
- GearmanJob::sendWarning() - 경고 보내기