A very rudimentary PHP error and exception handler.