$render
$render :
自定义API模块的错误显示
render(\Exception $e) : \think\Response
Render an exception into an HTTP response.
\Exception | $e |
renderForConsole(\think\console\Output $output, \Exception $e)
\think\console\Output | $output | |
\Exception | $e |
renderHttpException(\think\exception\HttpException $e) : \think\Response
\think\exception\HttpException | $e |
convertExceptionToResponse(\Exception $exception) : \think\Response
\Exception | $exception |