Change default error callback. We probably shouldn't throw any exceptions unless the error that occured was a fatal error.