The RMP Motion Controller API

◆ GcodeErrorLineNumberGet()

virtual int32_t GcodeErrorLineNumberGet ( )
pure virtual

Gets the line number of any errors in the G-Code syntax.

Description:
Exceptions thrown of the types: RSIErrorMessage::RSI_GCODE_PARSE, RSIErrorMessage::RSI_GCODE_LINE, RSIErrorMessage::RSI_GCODE_SYNTAX, RSIErrorMessage::RSI_GCODE_EXECUTOR, will result in this value being set.
Returns
(int32_t) The line number or -1
Note
Returns -1 if no errors are found.
See also
Part of the G-Code method group. Visit our Topic Page for more information.