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

Method create

Source/Utils/json.hpp:2652–2656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2650 {
2651 public:
2652 static other_error create(int id_, const std::string& what_arg)
2653 {
2654 std::string w = exception::name("other_error", id_) + what_arg;
2655 return other_error(id_, w.c_str());
2656 }
2657
2658 private:
2659 JSON_HEDLEY_NON_NULL(3)

Callers

nothing calls this directly

Calls 1

other_errorClass · 0.85

Tested by

no test coverage detected