\Imi\Server\Http\ErrorJsonErrorHandler

Summary

Methods
Properties
Constants
handle()
No public properties found
No constants found
No protected methods found
$releaseShow
$cancelThrow
N/A
No private methods found
No private properties found
N/A

Properties

$releaseShow

$releaseShow : boolean

debug 为 false时也显示错误信息

Type

boolean

$cancelThrow

$cancelThrow : boolean

取消继续抛出异常

Type

boolean

Methods

handle()

handle(\Throwable  $throwable) : boolean

捕获错误 返回值为 true 则取消继续抛出异常

Parameters

\Throwable $throwable

Returns

boolean