MCPcopy Create free account
hub / github.com/creatale/node-dv / DoError

Function DoError

deps/tesseract/cutil/danerror.cpp:42–48  ·  view source on GitHub ↗

* This routine prints the specified error message to stderr. * It then jumps to the current error trap. If the error trap * stack is empty, the calling program is terminated with a * fatal error message. * * @param Error error number which is to be trapped * @param Message pointer to a string to be printed as an error message * @return None - this routine does not return. * @note History:

Source from the content-addressed store, hash-verified

40 * @note History: 4/3/89, DSJ, Created.
41 */
42void DoError(int Error, const char *Message) {
43 if (Message != NULL) {
44 tprintf("\nError: %s!\n", Message);
45 }
46
47 err_exit();
48} /* DoError */

Callers 14

ReadCharDescriptionFunction · 0.85
ShortNameToFeatureTypeFunction · 0.85
MakeSampleFunction · 0.85
ReadSampleSizeFunction · 0.85
ReadParamDescFunction · 0.85
ReadPrototypeFunction · 0.85
ReadProtoStyleFunction · 0.85
ReadNFloatsFunction · 0.85
ReadFeatureFunction · 0.85
ReadFeatureSetFunction · 0.85
EmallocFunction · 0.85
EreallocFunction · 0.85

Calls 1

err_exitFunction · 0.85

Tested by

no test coverage detected