Graze\Supervisor\Handler\ExceptionHandler::handleFail PHP Method

handleFail() public method

public handleFail ( integer $retries, Graze\Supervisor\SupervisorInterface $supervisor, Exception $exception = null )
$retries integer
$supervisor Graze\Supervisor\SupervisorInterface
$exception Exception
    public function handleFail($retries, SupervisorInterface $supervisor, Exception $exception = null)
    {
        if ($exception) {
            throw $exception;
        }
        return $this->handleNextFail($retries, $supervisor, $exception);
    }
ExceptionHandler