I have an account profile update page that I would like to turn off PHP error reporting on and instead catch unique value constraint errors in a user friendly fasion using PHP instead.
Is there a way to capture PHP errors (even with them turned off at runtime) and use them to decide what custom error messages to display to the user?
Any other suggestions would be appreciated as well.