Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError

This commit is contained in:
wmayer
2022-03-17 14:45:48 +01:00
parent d69defaa3c
commit 9160f06e1c
29 changed files with 114 additions and 114 deletions

View File

@@ -115,7 +115,7 @@ PyObject* DocumentPy::setEdit(PyObject *args)
if (PyArg_ParseTuple(args, "s|is", &psFeatStr,&mod,&subname)) {
obj = getDocumentPtr()->getDocument()->getObject(psFeatStr);
if (!obj) {
PyErr_Format(Base::BaseExceptionFreeCADError, "No such object found in document: '%s'", psFeatStr);
PyErr_Format(Base::PyExc_FC_GeneralError, "No such object found in document: '%s'", psFeatStr);
return nullptr;
}
}