Lines Matching refs:JSON_THROW

517                         JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.11.2", nullptr)); // LCOV_EXCL_LINE
916 JSON_THROW(type_error::create(301, "cannot create object from initializer list", nullptr));
1028 JSON_THROW(invalid_iterator::create(201, "iterators are not compatible", nullptr));
1046 JSON_THROW(invalid_iterator::create(204, "iterators out of range", first.m_object));
1115 JSON_THROW(invalid_iterator::create(206, detail::concat("cannot construct with iterators from ", first.m_object->type_name()), first.m_object));
1399 JSON_THROW(type_error::create(302, detail::concat("type must be boolean, but is ", type_name()), this));
1520 JSON_THROW(type_error::create(303, detail::concat("incompatible ReferenceType for get_ref, actual type is ", obj.type_name()), &obj));
1895 JSON_THROW(type_error::create(302, detail::concat("type must be binary, but is ", type_name()), this));
1907 JSON_THROW(type_error::create(302, detail::concat("type must be binary, but is ", type_name()), this));
1938 JSON_THROW(out_of_range::create(401, detail::concat("array index ", std::to_string(idx), " is out of range"), this));
1943 JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this));
1961 JSON_THROW(out_of_range::create(401, detail::concat("array index ", std::to_string(idx), " is out of range"), this));
1966 JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this));
1977 JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this));
1983 JSON_THROW(out_of_range::create(403, detail::concat("key '", key, "' not found"), this));
1997 JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this));
2003 JSON_THROW(out_of_range::create(403, detail::concat("key '", string_t(std::forward<KeyType>(key)), "' not found"), this));
2015 JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this));
2021 JSON_THROW(out_of_range::create(403, detail::concat("key '", key, "' not found"), this));
2035 JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this));
2041 JSON_THROW(out_of_range::create(403, detail::concat("key '", string_t(std::forward<KeyType>(key)), "' not found"), this));
2089 JSON_THROW(type_error::create(305, detail::concat("cannot use operator[] with a numeric argument with ", type_name()), this));
2102 JSON_THROW(type_error::create(305, detail::concat("cannot use operator[] with a numeric argument with ", type_name()), this));
2124 JSON_THROW(type_error::create(305, detail::concat("cannot use operator[] with a string argument with ", type_name()), this));
2139 JSON_THROW(type_error::create(305, detail::concat("cannot use operator[] with a string argument with ", type_name()), this));
2177 JSON_THROW(type_error::create(305, detail::concat("cannot use operator[] with a string argument with ", type_name()), this));
2194 JSON_THROW(type_error::create(305, detail::concat("cannot use operator[] with a string argument with ", type_name()), this));
2229 JSON_THROW(type_error::create(306, detail::concat("cannot use value() with ", type_name()), this));
2254 JSON_THROW(type_error::create(306, detail::concat("cannot use value() with ", type_name()), this));
2280 JSON_THROW(type_error::create(306, detail::concat("cannot use value() with ", type_name()), this));
2307 JSON_THROW(type_error::create(306, detail::concat("cannot use value() with ", type_name()), this));
2331 JSON_THROW(type_error::create(306, detail::concat("cannot use value() with ", type_name()), this));
2356 JSON_THROW(type_error::create(306, detail::concat("cannot use value() with ", type_name()), this));
2422 JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", this));
2438 JSON_THROW(invalid_iterator::create(205, "iterator out of range", this));
2476 JSON_THROW(type_error::create(307, detail::concat("cannot use erase() with ", type_name()), this));
2492 JSON_THROW(invalid_iterator::create(203, "iterators do not fit current value", this));
2509 JSON_THROW(invalid_iterator::create(204, "iterators out of range", this));
2549 JSON_THROW(type_error::create(307, detail::concat("cannot use erase() with ", type_name()), this));
2563 JSON_THROW(type_error::create(307, detail::concat("cannot use erase() with ", type_name()), this));
2576 JSON_THROW(type_error::create(307, detail::concat("cannot use erase() with ", type_name()), this));
2617 JSON_THROW(out_of_range::create(401, detail::concat("array index ", std::to_string(idx), " is out of range"), this));
2624 JSON_THROW(type_error::create(307, detail::concat("cannot use erase() with ", type_name()), this));
3085 JSON_THROW(type_error::create(308, detail::concat("cannot use push_back() with ", type_name()), this));
3118 JSON_THROW(type_error::create(308, detail::concat("cannot use push_back() with ", type_name()), this));
3150 JSON_THROW(type_error::create(308, detail::concat("cannot use push_back() with ", type_name()), this));
3206 JSON_THROW(type_error::create(311, detail::concat("cannot use emplace_back() with ", type_name()), this));
3231 JSON_THROW(type_error::create(311, detail::concat("cannot use emplace() with ", type_name()), this));
3285 JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", this));
3292 JSON_THROW(type_error::create(309, detail::concat("cannot use insert() with ", type_name()), this));
3312 JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", this));
3319 JSON_THROW(type_error::create(309, detail::concat("cannot use insert() with ", type_name()), this));
3329 JSON_THROW(type_error::create(309, detail::concat("cannot use insert() with ", type_name()), this));
3335 JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", this));
3341 JSON_THROW(invalid_iterator::create(210, "iterators do not fit", this));
3346 JSON_THROW(invalid_iterator::create(211, "passed iterators may not belong to container", this));
3360 JSON_THROW(type_error::create(309, detail::concat("cannot use insert() with ", type_name()), this));
3366 JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", this));
3380 JSON_THROW(type_error::create(309, detail::concat("cannot use insert() with ", type_name()), this));
3386 JSON_THROW(invalid_iterator::create(210, "iterators do not fit", this));
3392 JSON_THROW(invalid_iterator::create(202, "iterators first and last must point to objects", this));
3419 JSON_THROW(type_error::create(312, detail::concat("cannot use update() with ", type_name()), this));
3425 JSON_THROW(invalid_iterator::create(210, "iterators do not fit", this));
3431 JSON_THROW(type_error::create(312, detail::concat("cannot use update() with ", first.m_object->type_name()), first.m_object));
3493 JSON_THROW(type_error::create(310, detail::concat("cannot use swap(array_t&) with ", type_name()), this));
3509 JSON_THROW(type_error::create(310, detail::concat("cannot use swap(object_t&) with ", type_name()), this));
3525 JSON_THROW(type_error::create(310, detail::concat("cannot use swap(string_t&) with ", type_name()), this));
3541 JSON_THROW(type_error::create(310, detail::concat("cannot use swap(binary_t&) with ", type_name()), this));
3557 JSON_THROW(type_error::create(310, detail::concat("cannot use swap(binary_t::container_type&) with ", type_name()), this));
4750 JSON_THROW(out_of_range::create(401, detail::concat("array index ", std::to_string(idx), " is out of range"), &parent));
4791 JSON_THROW(out_of_range::create(403, detail::concat("key '", last_path, "' not found"), this));
4804 JSON_THROW(parse_error::create(104, 0, "JSON patch must be an array of objects", &json_patch));
4825 JSON_THROW(parse_error::create(105, 0, detail::concat(error_msg, " must have member '", member, "'"), &val));
4832 JSON_THROW(parse_error::create(105, 0, detail::concat(error_msg, " must have string member '", member, "'"), &val));
4842 JSON_THROW(parse_error::create(104, 0, "JSON patch must be an array of objects", &val));
4920 JSON_THROW(other_error::create(501, detail::concat("unsuccessful: ", val.dump()), &val));
4931 JSON_THROW(parse_error::create(105, 0, detail::concat("operation value '", op, "' is invalid"), &val));