MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / SaveConfigError

Method SaveConfigError

src/Platform/RepRap.cpp:2983–2992  ·  view source on GitHub ↗

Save the first error message generated while running config.g

Source from the content-addressed store, hash-verified

2981
2982// Save the first error message generated while running config.g
2983void 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

Callers 1

Calls 2

IsNullMethod · 0.45
AssignMethod · 0.45

Tested by

no test coverage detected