MCPcopy Create free account
hub / github.com/OSGeo/gdal / CPL_STDCALL CPLGetLastErrorMsg

Function CPL_STDCALL CPLGetLastErrorMsg

port/cpl_error.cpp:959–966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

957 */
958
959const char *CPL_STDCALL CPLGetLastErrorMsg()
960{
961 CPLErrorContext *psCtx = CPLGetErrorContext();
962 if (psCtx == nullptr)
963 return "";
964
965 return psCtx->szLastErrMsg;
966}
967
968/**********************************************************************
969 * CPLGetErrorCounter()

Callers

nothing calls this directly

Calls 1

CPLGetErrorContextFunction · 0.85

Tested by

no test coverage detected