Provide a way to pass an error manager to analysis (for testing)