\appExceptionHandle

应用异常处理类

Summary

Methods
Properties
Constants
report()
render()
No public properties found
No constants found
No protected methods found
$ignoreReport
N/A
No private methods found
No private properties found
N/A

Properties

$ignoreReport

$ignoreReport : array

不需要记录信息(日志)的异常类列表

Type

array

Methods

report()

report(\Throwable  $exception) : void

记录异常信息(包括日志或者其它方式记录)

Parameters

\Throwable $exception

render()

render(\think\Request  $request, \Throwable  $e) : \think\Response

Render an exception into an HTTP response.

Parameters

\think\Request $request
\Throwable $e

Returns

\think\Response