As seen on these sites Special thanks go to the sites that support me by publishing my articles. Check them out. All rights reserved. In other words, I don't do anything to stop the error, I just let the server stop executing the offending page, and display an error. My handler just displays a prettier error.
Exception handling is different.
Now I'm providing code to execute when an error occurs, and depending on the error I can do different things. In the above example, I'm doing two things in my catch block. I display an error message by calling a function that I'll discuss in a minute, then I stop the script running by calling Response. But, back to the function call I made - note that I pass in the variable e that was specified in the catch statement. This is what I use when I need to create flowcharts to design or document my applications - highly recommended.