For adding an error, I'm calling the ReportError method on IParseError within the grammar callbacks like this:
state.ReportError(ParseErrorLevel.Error, ERROR_MESSAGE, errorToken);
I want to have "error code" in addition to error level and description.
And later I want to retrieve error level, description, and error code and show them on my original error list window.
I would like to know what is the best way to do this.
I couldn't find error code property in the IParseError interface.