MCPcopy Create free account
hub / github.com/asmuth/clip / error_print

Function error_print

src/return_code.cc:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void error_print(const ReturnCode& rc, std::ostream& os) {
48 switch (rc.code) {
49 case OK:
50 os << "OK" << std::endl;
51 break;
52 case ERROR:
53 os << "ERROR: " << rc.message << std::endl;
54 break;
55 }
56}
57
58} // namespace clip
59

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected