Add API for non-const grammar error descriptions