]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_Error.h
Salome HOME
SketchSolver library refactoring
[modules/shaper.git] / src / SketchSolver / SketchSolver_Error.h
index 0ef01476ea599d295237eae951417b9c2c01d783..dfae098bf8b1f14bda7fe20eac86ab4e8094deb3 100644 (file)
@@ -35,6 +35,12 @@ class SketchSolver_Error
     static const std::string MY_ERROR_VALUE("Attribute is not initialized");
     return MY_ERROR_VALUE;
   }
+  /// Constraint has wrong attributes
+  inline static const std::string& INCORRECT_ATTRIBUTE()
+  {
+    static const std::string MY_ERROR_VALUE("Incorrect attribute");
+    return MY_ERROR_VALUE;
+  }
 };
 
 #endif