MCPcopy Create free account
hub / github.com/TuGraph-family/tugraph-db / ErrorCodeToString

Function ErrorCodeToString

src/lgraph_api/lgraph_exceptions.cpp:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace lgraph_api {
17
18const char* ErrorCodeToString(ErrorCode code) {
19 switch (code) {
20#define X(code, msg) case ErrorCode::code: return #code;
21 ERROR_CODES
22#undef X
23 default: return "Unknown Error Code";
24 }
25}
26
27const char* ErrorCodeDesc(ErrorCode code) {
28 switch (code) {

Callers 3

LgraphExceptionMethod · 0.85
BoltFSMFunction · 0.85
LgraphExceptionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected