Lines Matching defs:error
304 return this->error(NullValue(), p, "invalid empty input");
315 return this->error(NullValue(), p_stop, "invalid top-level value");
326 return this->error(NullValue(), p, "invalid top-level value");
340 if (*p != '"') return this->error(NullValue(), p, "expected object key");
348 if (*p != ':') return this->error(NullValue(), p, "expected ':' separator");
358 return this->error(NullValue(), p, "unexpected input end");
403 return this->error(NullValue(), p - 1, "unexpected value-trailing token");
413 return this->error(NullValue(), p, "unexpected object terminator");
428 : this->error(NullValue(), p + 1, "trailing root garbage");
432 return this->error(NullValue(), p, "unexpected end-of-input");
452 return this->error(NullValue(), p, "unexpected array terminator");
603 T error(T&& ret_val, const char* p, const char* msg) {
619 return this->error(nullptr, p, "invalid token");
630 return this->error(nullptr, p, "invalid token");
641 return this->error(nullptr, p, "invalid token");
738 return this->error(nullptr, s_begin - 1, "invalid string");
853 return this->error(nullptr, p, "invalid numeric token");