I have the following code to build a fillet on an edge of a shape:
1. BRepFilletAPI_Make_Fillet mkFillet(aShape);
2. mkFillet.Add(radius, aEdge);
If for some reason, the information in step 2 is wrong, it crashes on step 3. How can I detect the error on step 2, so that it won't reach step 3?