Throw error
Demo Home
This example trys to cast a string value of "A" into an integer. As soon as the error is thrown an email is
sent to the administrator, the error is logged as an event in the event log and the user is redirected to a
friendly error page.