src/Viserio/Component/View/Engine/PhpEngine.php
protected function handleViewException(Throwable $exception, int $obLevel): void
    {
        while (\ob_get_level() > $obLevel) {
            \ob_end_clean();
        }

        throw $exception;
    }
protected function handleViewException(Throwable $exception, int $obLevel): void
    {
        while (\ob_get_level() > $obLevel) {
            \ob_end_clean();
        }

        throw $exception;
    }
Handle a view exception.

@param \Throwable $exception
@param int        $obLevel

@throws \Throwable