- COMPERR_OK = -1,
- COMPERR_BAD_INPUT_MESH = -2, //!< wrong mesh on lower submesh
- COMPERR_STD_EXCEPTION = -3, //!< some std exception raised
- COMPERR_OCC_EXCEPTION = -4, //!< OCC exception raised
- COMPERR_SLM_EXCEPTION = -5, //!< SALOME exception raised
- COMPERR_EXCEPTION = -6, //!< other exception raised
- COMPERR_MEMORY_PB = -7, //!< std::bad_alloc exception
- COMPERR_ALGO_FAILED = -8, //!< algo failed for some reason
- COMPERR_BAD_SHAPE = -9, //!< bad geometry
- COMPERR_WARNING = -10, //!< algo reports error but sub-mesh is computed anyway
- COMPERR_CANCELED = -11 //!< compute canceled
+ COMPERR_OK = -1,
+ COMPERR_BAD_INPUT_MESH = -2, //!< wrong mesh on lower submesh
+ COMPERR_STD_EXCEPTION = -3, //!< some std exception raised
+ COMPERR_OCC_EXCEPTION = -4, //!< OCC exception raised
+ COMPERR_SLM_EXCEPTION = -5, //!< SALOME exception raised
+ COMPERR_EXCEPTION = -6, //!< other exception raised
+ COMPERR_MEMORY_PB = -7, //!< std::bad_alloc exception
+ COMPERR_ALGO_FAILED = -8, //!< algo failed for some reason
+ COMPERR_BAD_SHAPE = -9, //!< bad geometry
+ COMPERR_WARNING = -10, //!< algo reports error but sub-mesh is computed anyway
+ COMPERR_CANCELED = -11, //!< compute canceled
+ COMPERR_NO_MESH_ON_SHAPE = -12, //!< no mesh elements assigned to sub-shape
+ COMPERR_BAD_PARMETERS = -13, //!< incorrect hypotheses parameters
+ COMPERR_LAST_ALGO_ERROR = -100,//!< terminator of mesh computation errors
+ // Errors of SMESH_MeshEditor follow
+ EDITERR_NO_MEDIUM_ON_GEOM= -101 /* during conversion to quadratic,
+ some medium nodes not placed on geometry
+ to avoid distorting elements, which are
+ stored in SMESH_ComputeError::myBadElements */