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

Method error

deps/opencv/modules/core/src/gpumat.cpp:774–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772// Error handling
773
774void cv::gpu::error(const char *error_string, const char *file, const int line, const char *func)
775{
776 int code = CV_GpuApiCallError;
777
778 if (uncaught_exception())
779 {
780 const char* errorStr = cvErrorStr(code);
781 const char* function = func ? func : "unknown function";
782
783 cerr << "OpenCV Error: " << errorStr << "(" << error_string << ") in " << function << ", file " << file << ", line " << line;
784 cerr.flush();
785 }
786 else
787 cv::error( cv::Exception(code, error_string, func, file, line) );
788}

Callers

nothing calls this directly

Calls 3

cvErrorStrFunction · 0.85
errorFunction · 0.85
ExceptionClass · 0.85

Tested by

no test coverage detected