MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / create

Method create

include/behaviortree_cpp/contrib/json.hpp:4578–4582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4576 public:
4577 template<typename BasicJsonContext, enable_if_t<is_basic_json_context<BasicJsonContext>::value, int> = 0>
4578 static other_error create(int id_, const std::string& what_arg, BasicJsonContext context)
4579 {
4580 const std::string w = concat(exception::name("other_error", id_), exception::diagnostics(context), what_arg);
4581 return {id_, w.c_str()};
4582 }
4583
4584 private:
4585 JSON_HEDLEY_NON_NULL(3)

Callers

nothing calls this directly

Calls 1

concatFunction · 0.85

Tested by

no test coverage detected