MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / create

Method create

examples/server/json.hpp:4473–4477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4471 public:
4472 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4473 static type_error create(int id_, const std::string& what_arg, BasicJsonContext context)
4474 {
4475 std::string w = concat(exception::name("type_error", id_), exception::diagnostics(context), what_arg);
4476 return {id_, w.c_str()};
4477 }
4478
4479 private:
4480 JSON_HEDLEY_NON_NULL(3)

Callers

nothing calls this directly

Calls 1

concatFunction · 0.85

Tested by

no test coverage detected