class LogException extends Handler

Methods

void
report(Throwable $exception)

用于记录异常或将其发送到外部服务

from Handler
render($request, Throwable $exception)

负责将给定的异常转换成发送给浏览器的 HTTP 响应.

from Handler

Details

in Handler at line 12
void report(Throwable $exception)

用于记录异常或将其发送到外部服务

Parameters

Throwable $exception

Return Value

void

in Handler at line 19
render($request, Throwable $exception)

负责将给定的异常转换成发送给浏览器的 HTTP 响应.

Parameters

$request
Throwable $exception