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

Create an `ErrorInfo` object with no error&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ErrorInfo(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Description

Construct an error info object using the (optionally) specified `basicAllocator`, or the default allocator of none is specified&period; After construction, `severity()` will return `BAEXML&lowbar;NO&lowbar;ERROR`, `lineNumber()` and `columnNumber()` will each return 0, and `source()` and `message()` will each return an empty string&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
|===


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