From 6259da0ad3cbf611bf74faf93c4f5d59fa6f5950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Fri, 12 May 2023 15:47:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(issue):=20=E8=A1=A5=E5=85=85=E7=BC=BA?= =?UTF-8?q?=E4=B9=8F=E7=9A=84=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #2 Signed-off-by: 李东云 --- config/autoload/exceptions.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 config/autoload/exceptions.php diff --git a/config/autoload/exceptions.php b/config/autoload/exceptions.php new file mode 100644 index 0000000..3119a22 --- /dev/null +++ b/config/autoload/exceptions.php @@ -0,0 +1,18 @@ + + * Powered by PhpStorm + * Created on 2023/4/12 + */ + +use Singularity\HDK\Core\Exceptions\Handler\CommonHandler; + +return [ + 'handler' => [ + 'http' => [ + CommonHandler::class, + ], + ], +]; \ No newline at end of file