Files
hyperf_data/config/autoload/exceptions.php
Aether db760bb276 ..
2025-09-25 10:46:45 +08:00

23 lines
514 B
PHP

<?php
declare(strict_types=1);
use Aether\ApiExceptionHandler;
use Aether\GlobalExceptionHandler;
use Aether\RpcExceptionHandler;
use Hyperf\HttpServer\Exception\Handler\HttpExceptionHandler;
return [
'handler' => [
'http' => [
// HttpExceptionHandler::class,
// ApiExceptionHandler::class,
GlobalExceptionHandler::class,
],
'jsonrpc-http' => [
HttpExceptionHandler::class,
RpcExceptionHandler::class,
],
],
];