MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / out_of_range

Class out_of_range

Source/external/json.hpp:4486–4499  ·  view source on GitHub ↗

@brief exception indicating access out of the defined range @sa https://json.nlohmann.me/api/basic_json/out_of_range/

Source from the content-addressed store, hash-verified

4484/// @brief exception indicating access out of the defined range
4485/// @sa https://json.nlohmann.me/api/basic_json/out_of_range/
4486class out_of_range : public exception
4487{
4488 public:
4489 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4490 static out_of_range create(int id_, const std::string& what_arg, BasicJsonContext context)
4491 {
4492 std::string w = concat(exception::name("out_of_range", id_), exception::diagnostics(context), what_arg);
4493 return {id_, w.c_str()};
4494 }
4495
4496 private:
4497 JSON_HEDLEY_NON_NULL(3)
4498 out_of_range(int id_, const char* what_arg) : exception(id_, what_arg) {}
4499};
4500
4501/// @brief exception indicating other library errors
4502/// @sa https://json.nlohmann.me/api/basic_json/other_error/

Callers 1

json.hppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected