-------------------- PyUtilGetMsgPrefix -------------------- Get the string used to prefix an error message for the Python API. When an error occurs in the API PyErr_SetString() is called with an error message and the enclosing function returns NULL. The Python API does not automatically print the function name where an exception occurs so add it to the string passed to PyErr_SetString() using th
| 150 | // using the prefix created here. |
| 151 | // |
| 152 | std::string PyUtilGetMsgPrefix(const std::string& functionName) |
| 153 | { |
| 154 | std::string msgp = functionName + "() "; |
| 155 | return msgp; |
| 156 | } |
| 157 | |
| 158 | //---------------------- |
| 159 | // PyUtilResetException |
no outgoing calls
no test coverage detected