Lines Matching refs:id_

61     exception(int id_, const char* what_arg) : id(id_), m(what_arg) {}  in exception()  argument
63 static std::string name(const std::string& ename, int id_) in name() argument
65 return "[json.exception." + ename + "." + std::to_string(id_) + "] "; in name()
130 static parse_error create(int id_, const position_t& pos, const std::string& what_arg) in create() argument
132 std::string w = exception::name("parse_error", id_) + "parse error" + in create()
134 return parse_error(id_, pos.chars_read_total, w.c_str()); in create()
137 static parse_error create(int id_, std::size_t byte_, const std::string& what_arg) in create() argument
139 std::string w = exception::name("parse_error", id_) + "parse error" + in create()
142 return parse_error(id_, byte_, w.c_str()); in create()
157 parse_error(int id_, std::size_t byte_, const char* what_arg) in parse_error() argument
158 : exception(id_, what_arg), byte(byte_) {} in parse_error()
207 static invalid_iterator create(int id_, const std::string& what_arg) in create() argument
209 std::string w = exception::name("invalid_iterator", id_) + what_arg; in create()
210 return invalid_iterator(id_, w.c_str()); in create()
215 invalid_iterator(int id_, const char* what_arg) in invalid_iterator() argument
216 : exception(id_, what_arg) {} in invalid_iterator()
261 static type_error create(int id_, const std::string& what_arg) in create() argument
263 std::string w = exception::name("type_error", id_) + what_arg; in create()
264 return type_error(id_, w.c_str()); in create()
269 type_error(int id_, const char* what_arg) : exception(id_, what_arg) {} in type_error() argument
308 static out_of_range create(int id_, const std::string& what_arg) in create() argument
310 std::string w = exception::name("out_of_range", id_) + what_arg; in create()
311 return out_of_range(id_, w.c_str()); in create()
316 out_of_range(int id_, const char* what_arg) : exception(id_, what_arg) {} in out_of_range() argument
346 static other_error create(int id_, const std::string& what_arg) in create() argument
348 std::string w = exception::name("other_error", id_) + what_arg; in create()
349 return other_error(id_, w.c_str()); in create()
354 other_error(int id_, const char* what_arg) : exception(id_, what_arg) {} in other_error() argument