Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError
This commit is contained in:
@@ -275,7 +275,7 @@ private:
|
||||
}
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
throw Py::Exception(Base::BaseExceptionFreeCADError, e.GetMessageString());
|
||||
throw Py::Exception(Base::PyExc_FC_GeneralError, e.GetMessageString());
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
e.setPyException();
|
||||
@@ -396,7 +396,7 @@ private:
|
||||
hApp->Close(hDoc);
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
throw Py::Exception(Base::BaseExceptionFreeCADError, e.GetMessageString());
|
||||
throw Py::Exception(Base::PyExc_FC_GeneralError, e.GetMessageString());
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
e.setPyException();
|
||||
|
||||
Reference in New Issue
Block a user