BloombergLP::balxml::ErrorInfo::setError

setError overloads

Synopses

Declared in <balxml_errorinfo.h>

Conditionally assign the specified other object to this object.

void
setError(ErrorInfo const& other);
» more...

Conditionally set this object's diagnostic from the specified values.

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

Parameters

NameDescription
othererror information to assign if more severe
severityseverity of the diagnostic
lineNumberline number of the diagnostic
columnNumbercolumn number of the diagnostic
sourcename of the document containing the diagnostic
errorMsgdescription of the diagnostic