1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- return [
- 'enable' => true,
-
- 'exception_handler' => [
-
- 'dont_report' => [
- Tinywan\ExceptionHandler\Exception\BadRequestHttpException::class,
- Tinywan\ExceptionHandler\Exception\UnauthorizedHttpException::class,
- Tinywan\ExceptionHandler\Exception\ForbiddenHttpException::class,
- Tinywan\ExceptionHandler\Exception\NotFoundHttpException::class,
- Tinywan\ExceptionHandler\Exception\RouteNotFoundException::class,
- Tinywan\ExceptionHandler\Exception\TooManyRequestsHttpException::class,
- Tinywan\ExceptionHandler\Exception\ServerErrorHttpException::class,
- Tinywan\Validate\Exception\ValidateException::class,
- Tinywan\Jwt\Exception\JwtTokenException::class
- ],
-
- 'status' => [
- 'validate' => 400,
- 'jwt_token' => 401,
- 'jwt_token_expired' => 402,
- 'server_error' => 500,
- ],
-
- 'body' => [
- 'code' => 0,
- 'msg' => '服务器内部异常',
- 'data' => null
- ],
-
- 'event' => [
- 'enable' => false,
-
- 'ding_talk' => [
- 'accessToken' => 'xxxxxxxxxxxxxxxx',
- 'secret' => 'xxxxxxxxxxxxxxxx',
- 'title' => '钉钉机器人异常通知',
- ]
- ],
- ],
- ];
|