MCPcopy Create free account
hub / github.com/coi/coi / cli_error

Method cli_error

src/cli/error.h:39–41  ·  view source on GitHub ↗

CLI/runtime errors (prints to stderr)

Source from the content-addressed store, hash-verified

37
38 // CLI/runtime errors (prints to stderr)
39 static void cli_error(const std::string& message) {
40 std::cerr << error_colors::RED << "error" << error_colors::RESET << ": " << message << std::endl;
41 }
42
43 // CLI/runtime errors with additional context (prints to stderr)
44 static void cli_error(const std::string& message, const std::string& context) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected