2809 {
2810 std::string w = exception::name("parse_error", id_) + "parse error" +
2811 (byte_ != 0 ? (" at byte " + std::to_string(byte_)) : "") +
2812 ": " + exception::diagnostics(context) + what_arg;
2813 return parse_error(id_, byte_, w.c_str());
2814 }