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

Construct a copy of the specified `other` object using the (optionally) specified `basicAllocator`, or the default allocator of none is specified&period;

== Synopsis

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

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


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