MCPcopy Create free account
hub / github.com/chigraph/chigraph / addEntry

Method addEntry

libchigraph/src/Result.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48namespace chi {
49
50void Result::addEntry(const char* ec, const char* overview, nlohmann::json data) {
51 assert(ec[0] == 'E' || ec[0] == 'I' || ec[0] == 'W');
52
53 mergeJsonIntoConservative(data, contextJson());
54
55 result_json.push_back(
56 nlohmann::json({{"errorcode", ec}, {"overview", overview}, {"data", data}}));
57 if (ec[0] == 'E') mSuccess = false;
58}
59
60std::string Result::dump() const {
61 std::string ret;

Callers 15

terminateMethod · 0.80
processContinueMethod · 0.80
pauseMethod · 0.80
setBreakpointMethod · 0.80
startMethod · 0.80
read_allFunction · 0.80
compileCCodeFunction · 0.80
GraphFuncCallTypeMethod · 0.80
codegenMethod · 0.80
saveToDiskMethod · 0.80
nodeTypeFromNameMethod · 0.80

Calls 1

Tested by

no test coverage detected