setError overloads

Synopses

Declared in <balxml_errorinfo.h>

If the severity of the specified other object is greater than the current value of this‐>severity(), then assign this object the value of other, otherwise do nothing.

void
setError(ErrorInfo const& other);

If the specified severity is greater than the current value of this‐>severity(), then set this object's severity to severity, line number to the specified lineNumber, column number to the specified columnNumber, source name to the specified source, and error message to the specified errorMsg, otherwise do nothing.

void
setError(
    Severity severity,
    int lineNumber,
    int columnNumber,
    std::string_view const& source,
    std::string_view const& errorMsg);

Created with MrDocs