MCPcopy Create free account
hub / github.com/Singular/Singular / omError2String

Function omError2String

omalloc/omError.c:54–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52};
53
54const char* omError2String(omError_t error)
55{
56 int i = 0;
57 while (! (om_ErrorStrings[i].string == NULL && om_ErrorStrings[i].error == omError_MaxError))
58 {
59 if (om_ErrorStrings[i].error == error) return om_ErrorStrings[i].string;
60 i++;
61 }
62 return "undocumented error";
63}
64
65const char* omError2Serror(omError_t error)
66{

Callers 2

jjEXTENDED_SYSTEMFunction · 0.85
omReportErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected