Tag Archives: fatal error

How to handle error messages in PHP

Error messages are nightmares to a programmer. Default error messages are annoying and looking ugly. And kind of security threat as well. You probably wish to show a custom message when an error occurred. And tried and failed? I had written this small code snippet for one of my projects and now wondering if this…