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

This class provides detailed information for errors encountered during XML parsing&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class ErrorInfo;
----

== Description

Such information is common for most parsers and contains the following data&colon; line number, column number, severity code, identification of source document and the parser error message&period;

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balxml/ErrorInfo/Severity-0f.adoc[`Severity`] 
| Severity level of a parser or decoder error&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balxml/ErrorInfo/2constructor-06.adoc[`ErrorInfo`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/balxml/ErrorInfo/2destructor.adoc[`&#126;ErrorInfo`] [.small]#[destructor]#
| Destroy this object&period;
| xref:BloombergLP/balxml/ErrorInfo/operator_assign.adoc[`operator&equals;`] 
| Copy the value of the specified `rhs` object into this object and return a modifiable reference to this object&period;
| xref:BloombergLP/balxml/ErrorInfo/columnNumber.adoc[`columnNumber`] 
| Return the column number&period;
| xref:BloombergLP/balxml/ErrorInfo/isAnyError.adoc[`isAnyError`] 
| Return true if the `severity() &gt;&equals; `BAEXML&lowbar;ERROR&apos; (i&period;e&period;, `BAEXML&lowbar;ERROR` or `BAEXML&lowbar;FATAL&lowbar;ERROR`) and false otherwise&period;
| xref:BloombergLP/balxml/ErrorInfo/isError.adoc[`isError`] 
| Return true if the `severity() &equals;&equals; `BAEXML&lowbar;ERROR&apos; and false otherwise&period;
| xref:BloombergLP/balxml/ErrorInfo/isFatalError.adoc[`isFatalError`] 
| Return true if the `severity() &equals;&equals; `BAEXML&lowbar;FATAL&lowbar;ERROR&apos; and false otherwise&period;
| xref:BloombergLP/balxml/ErrorInfo/isNoError.adoc[`isNoError`] 
| Return true if the `severity() &equals;&equals; `BAEXML&lowbar;NO&lowbar;ERROR&apos; and false otherwise&period;
| xref:BloombergLP/balxml/ErrorInfo/isWarning.adoc[`isWarning`] 
| Return true if the `severity() &equals;&equals; `BAEXML&lowbar;WARNING&apos; and false otherwise&period;
| xref:BloombergLP/balxml/ErrorInfo/lineNumber.adoc[`lineNumber`] 
| Return the line number of the warning or error&period;
| xref:BloombergLP/balxml/ErrorInfo/message.adoc[`message`] 
| Return the string describing the error or warning&period;
| xref:BloombergLP/balxml/ErrorInfo/reset.adoc[`reset`] 
| Reset this object to initial state, as if it were default constructed&period;
| xref:BloombergLP/balxml/ErrorInfo/setError-0d.adoc[`setError`] 
| `setError` overloads
| xref:BloombergLP/balxml/ErrorInfo/severity-03.adoc[`severity`] 
| Return the severity level&period;
| xref:BloombergLP/balxml/ErrorInfo/source.adoc[`source`] 
| Return the string that identifies the document being parsed&period;
| xref:BloombergLP/balxml/ErrorInfo/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;ErrorInfo, UsesBslmaAllocator&gt;`] 
| `ErrorInfo` uses a `bslma` allocator&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/balxml/operator_not_eq-0d.adoc[`operator!&equals;`]
| Return true if the specified `lhs` object does not have the same value as the specified `rhs` object&period;
| xref:BloombergLP/balxml/operator_eq-0e6.adoc[`operator&equals;&equals;`]
| Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period;
|===


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