Save the first error message generated while running config.g
| 2981 | |
| 2982 | // Save the first error message generated while running config.g |
| 2983 | void RepRap::SaveConfigError(c_string filename, unsigned int lineNumber, c_string errorMessage) noexcept |
| 2984 | { |
| 2985 | if (configErrorMessage.IsNull()) |
| 2986 | { |
| 2987 | configErrorLine = lineNumber; |
| 2988 | configErrorFilename.Assign(filename); |
| 2989 | configErrorMessage.Assign(errorMessage); |
| 2990 | StateUpdated(); |
| 2991 | } |
| 2992 | } |
| 2993 | |
| 2994 | #if SAME5x |
| 2995 |
no test coverage detected