Use the new API for retrieving grammar error description