[#BloombergLP-balxml-ErrorInfo-lineNumber]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/ErrorInfo.adoc[ErrorInfo]::lineNumber
:relfileprefix: ../../../
:mrdocs:

Return the line number of the warning or error&period; By convention, the first line is numbered 1&period; The constructors and `reset` functions set the line number to 0, since there is no error line to report&period;

== Synopsis

Declared in `&lt;balxml&lowbar;errorinfo&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
lineNumber() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
