use Exception;public function getInfo(){ ? ?try{ ? ? ? ?1/0; ? ?}catch (Exception $exception){ ? ? ? ?throw $exception; ? ?}}這邊拋出異常了,并且config.php'exception_handle'???????=>?'app\lib\exception\ExceptionHandler',也配置了。全局異常類如下:use Exception;use think\exception\Handle;class ExceptionHandler extends Handle{ ? ?public function render(Exception $e) ? ?{ ? ? ? ?return '8888888'; // TODO: Change the autogenerated stub ? ?}}發送請求的時候報下面的錯誤信息,求教大神這是什么情況
添加回答
舉報
0/150
提交
取消