23 lines
514 B
PHP
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,
|
|
],
|
|
],
|
|
];
|