setError overloads

Synopses

Declared in <balxml_errorinfo.h>

Conditionally assign the specified other object to this object.

void
setError(ErrorInfo const& other);

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);

Parameters

Name

Description

other

error information to assign if more severe

severity

severity of the diagnostic

lineNumber

line number of the diagnostic

columnNumber

column number of the diagnostic

source

name of the document containing the diagnostic

errorMsg

description of the diagnostic

Created with MrDocs