]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_Error.h
Salome HOME
Merge branch 'Pre_2.8.0_development'
[modules/shaper.git] / src / SketchSolver / SketchSolver_Error.h
index 4b4347f364de9bb44e3126b8abd90088fe296134..3093e7bc9ac20f73330e224af1021104ef8d2178 100644 (file)
@@ -103,6 +103,12 @@ class SketchSolver_Error
     static const std::string MY_ERROR_VALUE("Caution: SolveSpace crash! Constraints are wrong");
     return MY_ERROR_VALUE;
   }
+  /// Constraint has wrong type
+  inline static const std::string& WRONG_CONSTRAINT_TYPE()
+  {
+    static const std::string MY_ERROR_VALUE("Unsupported type of constraint");
+    return MY_ERROR_VALUE;
+  }
 };
 
 #endif