MCPcopy Create free account
hub / github.com/ImageEngine/cortex / formatPythonException

Function formatPythonException

src/IECorePython/ExceptionAlgo.cpp:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118{
119
120std::string formatPythonException( bool withStacktrace, int *lineNumber )
121{
122 auto [exception, value, traceback] = currentPythonException();
123 return formatInternal( exception, value, traceback, withStacktrace, lineNumber );
124}
125
126void translatePythonException( bool withStacktrace )
127{

Callers

nothing calls this directly

Calls 2

currentPythonExceptionFunction · 0.85
formatInternalFunction · 0.85

Tested by

no test coverage detected