[#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. By convention, the first line is numbered 1. The constructors and `reset` functions set the line number to 0, since there is no error line to report. == Synopsis Declared in `<balxml_errorinfo.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int lineNumber() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#