How to catch FatalErrorException exception and return information correctly by lumen

I judge in the render method of Handler that FatalErrorException returns an array


when an exception occurs.

there are other error messages on the returned array, but should you only return the array when catching an exception? how to solve this situation


at first glance, I don't think the if statement block has been executed.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b9964f-4370d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b9964f-4370d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?