Example of error_handler for things like uncaught exception