![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Diagnostic for the most recent parseRuleText() rejection. More...
#include <Controls.hpp>
Public Attributes | |
| int | line = -1 |
| 1-based line in the submitted text; -1 if unknown | |
| std::string | message |
| Human-readable reason for the rejection. | |
Diagnostic for the most recent parseRuleText() rejection.
line is 1-based and indexes the original rule text, counting blank lines, so it can be shown directly against what the caller submitted. Both fields are only meaningful after parseRuleText() returns < 0.
| int openswmm::controls::ParseError::line = -1 |
1-based line in the submitted text; -1 if unknown
| std::string openswmm::controls::ParseError::message |
Human-readable reason for the rejection.