Add a generic error entry point