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

Method formatMessage

deps/opencv/modules/core/src/system.cpp:191–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189const char* Exception::what() const throw() { return msg.c_str(); }
190
191void Exception::formatMessage()
192{
193 if( func.size() > 0 )
194 msg = format("%s:%d: error: (%d) %s in function %s\n", file.c_str(), line, code, err.c_str(), func.c_str());
195 else
196 msg = format("%s:%d: error: (%d) %s\n", file.c_str(), line, code, err.c_str());
197}
198
199struct HWFeatures
200{

Callers

nothing calls this directly

Calls 3

formatFunction · 0.70
sizeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected