hyperf-chat/config/autoload/exceptions.php

26 lines
740 B
PHP
Raw Permalink Normal View History

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,
2021-07-16 22:15:49 +08:00
App\Exception\Handler\BaseExceptionHandler::class,
2020-11-14 23:05:45 +08:00
App\Exception\Handler\AppExceptionHandler::class,
2020-11-02 22:45:37 +08:00
],
2021-07-16 22:15:49 +08:00
'ws' => [
2020-12-19 15:05:28 +08:00
App\Exception\Handler\WebSocketExceptionHandler::class
],
2020-11-02 22:45:37 +08:00
],
];