Update ErrorReporting.php

Updated the error handler to catch E_ERROR errors as well.