/third_party/json/include/nlohmann/detail/ |
H A D | json_pointer.hpp | 163 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent", nullptr)); in pop_back() 175 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent", nullptr)); in back() 221 JSON_THROW(detail::parse_error::create(106, 0, detail::concat("array index '", s, "' must not begin with '0'"), nullptr)); in array_index() 227 JSON_THROW(detail::parse_error::create(109, 0, detail::concat("array index '", s, "' is not a number"), nullptr)); in array_index() 238 JSON_THROW(detail::out_of_range::create(404, detail::concat("unresolved reference token '", s, "'"), nullptr)); in array_index() 245 JSON_THROW(detail::out_of_range::create(410, detail::concat("array index ", s, " exceeds size_type"), nullptr)); // LCOV_EXCL_LINE in array_index() 256 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent", nullptr)); in top() 327 JSON_THROW(detail::type_error::create(313, "invalid value to unflatten", &j)); in get_and_create() 408 JSON_THROW(detail::out_of_range::create(404, detail::concat("unresolved reference token '", reference_token, "'"), ptr)); in get_unchecked() 440 JSON_THROW(detai in get_checked() [all...] |
H A D | macro_unscope.hpp | 19 #undef JSON_THROW macro
|
H A D | macro_scope.hpp | 157 #define JSON_THROW(exception) throw exception macro 163 #define JSON_THROW(exception) std::abort() macro 171 #undef JSON_THROW macro 172 #define JSON_THROW JSON_THROW_USER macro
|
/third_party/json/include/nlohmann/detail/conversions/ |
H A D | from_json.hpp | 41 JSON_THROW(type_error::create(302, concat("type must be null, but is ", j.type_name()), &j)); in from_json() 79 JSON_THROW(type_error::create(302, concat("type must be number, but is ", j.type_name()), &j)); in get_arithmetic_value() 88 JSON_THROW(type_error::create(302, concat("type must be boolean, but is ", j.type_name()), &j)); in from_json() 98 JSON_THROW(type_error::create(302, concat("type must be string, but is ", j.type_name()), &j)); in from_json() 114 JSON_THROW(type_error::create(302, concat("type must be string, but is ", j.type_name()), &j)); in from_json() 156 JSON_THROW(type_error::create(302, concat("type must be array, but is ", j.type_name()), &j)); in from_json() 173 JSON_THROW(type_error::create(302, concat("type must be array, but is ", j.type_name()), &j)); in from_json() 270 JSON_THROW(type_error::create(302, concat("type must be array, but is ", j.type_name()), &j)); 289 JSON_THROW(type_error::create(302, concat("type must be array, but is ", j.type_name()), &j)); 300 JSON_THROW(type_erro in from_json() [all...] |
/third_party/json/include/nlohmann/ |
H A D | json.hpp | 517 JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.11.2", nullptr)); // LCOV_EXCL_LINE in json_value() 916 JSON_THROW(type_error::create(301, "cannot create object from initializer list", nullptr)); in basic_json() 1028 JSON_THROW(invalid_iterator::create(201, "iterators are not compatible", nullptr)); in basic_json() 1046 JSON_THROW(invalid_iterator::create(204, "iterators out of range", first.m_object)); in basic_json() 1115 JSON_THROW(invalid_iterator::create(206, detail::concat("cannot construct with iterators from ", first.m_object->type_name()), first.m_object)); in basic_json() 1399 JSON_THROW(type_error::create(302, detail::concat("type must be boolean, but is ", type_name()), this)); in get_impl() 1520 JSON_THROW(type_error::create(303, detail::concat("incompatible ReferenceType for get_ref, actual type is ", obj.type_name()), &obj)); in get_ref_impl() 1895 JSON_THROW(type_error::create(302, detail::concat("type must be binary, but is ", type_name()), this)); in get_binary() 1907 JSON_THROW(type_error::create(302, detail::concat("type must be binary, but is ", type_name()), this)); in get_binary() 1938 JSON_THROW(out_of_rang in at() [all...] |
H A D | ordered_map.hpp | 116 JSON_THROW(std::out_of_range("key not found")); in at() 131 JSON_THROW(std::out_of_range("key not found")); in at() 144 JSON_THROW(std::out_of_range("key not found")); in at() 159 JSON_THROW(std::out_of_range("key not found")); in at()
|
/third_party/json/include/nlohmann/detail/iterators/ |
H A D | iter_impl.hpp | 299 JSON_THROW(invalid_iterator::create(214, "cannot get value", m_object)); in operator *() 315 JSON_THROW(invalid_iterator::create(214, "cannot get value", m_object)); in operator *() 357 JSON_THROW(invalid_iterator::create(214, "cannot get value", m_object)); in operator ->() 474 JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers", m_object)); in operator ==() 519 JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers", m_object)); in operator <() 527 JSON_THROW(invalid_iterator::create(213, "cannot compare order of object iterators", m_object)); in operator <() 583 JSON_THROW(invalid_iterator::create(209, "cannot use offsets with object iterators", m_object)); in operator +=() 662 JSON_THROW(invalid_iterator::create(209, "cannot use offsets with object iterators", m_object)); in operator -() 691 JSON_THROW(invalid_iterator::create(208, "cannot use operator[] for object iterators", m_object)); in operator []() 697 JSON_THROW(invalid_iterato in operator []() [all...] |
/third_party/json/include/nlohmann/detail/input/ |
H A D | json_sax.hpp | 235 JSON_THROW(out_of_range::create(408, concat("excessive object size: ", std::to_string(len)), ref_stack.back())); in start_object() 267 JSON_THROW(out_of_range::create(408, concat("excessive array size: ", std::to_string(len)), ref_stack.back())); in start_array() 291 JSON_THROW(ex); in parse_error() 425 JSON_THROW(out_of_range::create(408, concat("excessive object size: ", std::to_string(len)), ref_stack.back())); in start_object() 495 JSON_THROW(out_of_range::create(408, concat("excessive array size: ", std::to_string(len)), ref_stack.back())); in start_array() 541 JSON_THROW(ex); in parse_error()
|
/third_party/json/tests/abi/include/nlohmann/ |
H A D | json_v3_10_5.hpp | 2406 #define JSON_THROW(exception) throw exception macro 2412 #define JSON_THROW(exception) std::abort() 2420 #undef JSON_THROW macro 2421 #define JSON_THROW JSON_THROW_USER macro 3838 JSON_THROW(type_error::create(302, "type must be null, but is " + std::string(j.type_name()), j)); 3876 JSON_THROW(type_error::create(302, "type must be number, but is " + std::string(j.type_name()), j)); 3885 JSON_THROW(type_error::create(302, "type must be boolean, but is " + std::string(j.type_name()), j)); 3895 JSON_THROW(type_error::create(302, "type must be string, but is " + std::string(j.type_name()), j)); 3911 JSON_THROW(type_error::create(302, "type must be string, but is " + std::string(j.type_name()), j)); 3951 JSON_THROW(type_erro [all...] |
/third_party/json/single_include/nlohmann/ |
H A D | json.hpp | 2507 #define JSON_THROW(exception) throw exception macro 2513 #define JSON_THROW(exception) std::abort() 2521 #undef JSON_THROW macro 2522 #define JSON_THROW JSON_THROW_USER macro 4597 JSON_THROW(type_error::create(302, concat("type must be null, but is ", j.type_name()), &j)); in from_json() 4635 JSON_THROW(type_error::create(302, concat("type must be number, but is ", j.type_name()), &j)); in get_arithmetic_value() 4644 JSON_THROW(type_error::create(302, concat("type must be boolean, but is ", j.type_name()), &j)); in from_json() 4654 JSON_THROW(type_error::create(302, concat("type must be string, but is ", j.type_name()), &j)); in from_json() 4670 JSON_THROW(type_error::create(302, concat("type must be string, but is ", j.type_name()), &j)); in from_json() 4712 JSON_THROW(type_erro in from_json() 24409 #undef JSON_THROW global() macro [all...] |
/third_party/json/include/nlohmann/detail/output/ |
H A D | serializer.hpp | 513 JSON_THROW(type_error::create(316, concat("invalid UTF-8 byte at index ", std::to_string(i), ": 0x", hex_bytes(byte | 0)), nullptr)); in dump_escaped() 605 JSON_THROW(type_error::create(316, concat("incomplete UTF-8 string; last byte: 0x", hex_bytes(static_cast<std::uint8_t>(s.back() | 0))), nullptr)); in dump_escaped()
|
H A D | binary_writer.hpp | 81 JSON_THROW(type_error::create(317, concat("to serialize to BSON, top-level type must be object, but is ", j.type_name()), &j)); in write_bson() 965 JSON_THROW(out_of_range::create(409, concat("BSON key cannot contain code point U+0000 (at byte ", std::to_string(it), ")"), &j)); in calc_bson_entry_header_size() 1090 JSON_THROW(out_of_range::create(407, concat("integer number ", std::to_string(j.m_value.number_unsigned), " cannot be represented by BSON as it does not fit int64"), &j)); in write_bson_unsigned()
|