src/Base/ExceptionHandler.php
private function renderException($exception, $full = false)
    {
        $app = \Reaction::$app;
        try {
            $rendered = View::renderPhpStateless($this->getViewFileForException($exception), [
                'exceptionName' => $this->getExceptionName($exception),
                'exception' => $exception,
                'app' => $app,
                'rootPathLength' => strlen($app->getAlias('@root'))
            ]);
        } catch (\Throwable $e) {
            $rendered = $this->getExceptionData($exception, $full, true);
        }
        return $rendered;
    }
private function renderException($exception, $full = false)
    {
        $app = \Reaction::$app;
        try {
            $rendered = View::renderPhpStateless($this->getViewFileForException($exception), [
                'exceptionName' => $this->getExceptionName($exception),
                'exception' => $exception,
                'app' => $app,
                'rootPathLength' => strlen($app->getAlias('@root'))
            ]);
        } catch (\Throwable $e) {
            $rendered = $this->getExceptionData($exception, $full, true);
        }
        return $rendered;
    }
Render exception view
@param \Throwable $exception
@param bool       $full
@return array|string