This commit is contained in:
Aether
2025-09-25 10:46:45 +08:00
parent 3c89a01a81
commit db760bb276
4 changed files with 46 additions and 24 deletions

View File

@@ -1,26 +1,21 @@
<?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
*/
use Aether\ApiExceptionHandler;
use Aether\GlobalExceptionHandler;
use Aether\RpcExceptionHandler;
use Hyperf\HttpServer\Exception\Handler\HttpExceptionHandler;
return [
'handler' => [
'http' => [
Hyperf\HttpServer\Exception\Handler\HttpExceptionHandler::class,
ApiExceptionHandler::class,
// HttpExceptionHandler::class,
// ApiExceptionHandler::class,
GlobalExceptionHandler::class,
],
'jsonrpc-http' => [
Hyperf\HttpServer\Exception\Handler\HttpExceptionHandler::class,
HttpExceptionHandler::class,
RpcExceptionHandler::class,
],
],