2020-11-02 22:45:37 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
|
|
* This file is part of Hyperf.
|
|
|
|
*
|
|
|
|
* @link https://www.hyperf.io
|
|
|
|
* @document https://hyperf.wiki
|
|
|
|
* @contact group@hyperf.io
|
|
|
|
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
|
|
|
*/
|
|
|
|
return [
|
|
|
|
'handler' => [
|
|
|
|
'http' => [
|
|
|
|
Hyperf\HttpServer\Exception\Handler\HttpExceptionHandler::class,
|
2020-11-04 16:47:17 +08:00
|
|
|
App\Exception\Handler\JwtAuthExceptionHandler::class,
|
2020-11-14 23:05:45 +08:00
|
|
|
App\Exception\Handler\ValidateExceptionHandler::class,
|
|
|
|
App\Exception\Handler\AppExceptionHandler::class,
|
2020-11-02 22:45:37 +08:00
|
|
|
],
|
|
|
|
],
|
|
|
|
];
|