src/Leevel/Kernel/Kernel.php
protected function renderException(IRequest $request, Exception $e): IResponse
    {
        return $this->getRuntime()->render($request, $e);
    }
protected function renderException(IRequest $request, Exception $e): IResponse
    {
        return $this->getRuntime()->render($request, $e);
    }
渲染异常.

@param \Leevel\Http\IRequest $request
@param \Exception            $e

@return \Leevel\Http\IResponse