Kraken\Runtime\Command\Cmd\CmdErrorCommand::handleException PHP Method

handleException() protected method

protected handleException ( Erro\Error | Exceptio\Exception $ex, mixed[] $params )
$ex Erro\Error | Exceptio\Exception
$params mixed[]
    protected function handleException($ex, $params)
    {
        try {
            $this->supervisor->solve($ex, $params);
        } catch (Error $ex) {
            $this->supervisor->solve($ex, $params);
        } catch (Exception $ex) {
            $this->supervisor->solve($ex, $params);
        }
    }