ENH: save error code to slice info

Change-Id: Ic70ef81775c23d160f40ff29f02cc9e1f9d336d6
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li authored and Lane.Wei committed 2022-12-15 04:33:48 -05:00
1 parent 7f53455105
commit cd1210b0ca
3 files changed
+4 -2

No files matched your search

+1
View File
@@ -136,6 +136,7 @@ namespace Slic3r {
struct SliceWarning {
int level; // 0: normal tips, 1: warning; 2: error
std::string msg; // enum string
std::string error_code; // error code for studio
std::vector<std::string> params; // extra msg info
};