X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_Error.h;h=0ae33d3c60abb8c4d4ccf2f4131d273e5a43534f;hb=e94feebdafb664910b36c3a2e526b06cd7dd3fdc;hp=3623354b196aa582c6fb4233eb8825702e852a73;hpb=11573ab14113256d9e93228cd2310f78d08e2b4e;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_Error.h b/src/SketchSolver/SketchSolver_Error.h index 3623354b1..0ae33d3c6 100644 --- a/src/SketchSolver/SketchSolver_Error.h +++ b/src/SketchSolver/SketchSolver_Error.h @@ -59,6 +59,18 @@ class SketchSolver_Error static const std::string MY_ERROR_VALUE("Mirror constraint has wrong attributes"); return MY_ERROR_VALUE; } + /// Entity is already fixed + inline static const std::string& ALREADY_FIXED() + { + static const std::string MY_ERROR_VALUE("Entity already fixed"); + return MY_ERROR_VALUE; + } + /// Crash in SolveSpace + inline static const std::string& SOLVESPACE_CRASH() + { + static const std::string MY_ERROR_VALUE("Caution: SolveSpace crash! Constraints are wrong"); + return MY_ERROR_VALUE; + } }; #endif