请问一下啊我直接写的throw new Exception('出错');
请问一下啊我直接写的throw new Exception('出错'); 直接报Fatal error: Uncaught exception 'Exception' with message '出错啦' in C:\xampp\htdocs\text\Index.php:9 Stack trace: #0 {main} thrown in C:\xampp\htdocs\text\Index.php on line 这种错误啊?必须加上trycatch