MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / create

Method create

Source/Utils/json.hpp:2567–2571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2565 {
2566 public:
2567 static type_error create(int id_, const std::string& what_arg)
2568 {
2569 std::string w = exception::name("type_error", id_) + what_arg;
2570 return type_error(id_, w.c_str());
2571 }
2572
2573 private:
2574 JSON_HEDLEY_NON_NULL(3)

Callers

nothing calls this directly

Calls 1

type_errorClass · 0.85

Tested by

no test coverage detected