MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / die

Function die

src/api_builder/utilities.cpp:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "utilities.h"
9
10void die(const std::string& error, int code)
11{
12 std::cerr << "Error: " << error << std::endl;
13 exit(code);
14}
15
16std::string loadFile(const std::string& file)
17{

Callers 3

buildLoaderFunction · 0.85
buildCSharpFunction · 0.85
buildExportFunction · 0.85

Calls 1

exitFunction · 0.85

Tested by

no test coverage detected