[#BloombergLP-balxml-ErrorInfo-2constructor-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/ErrorInfo.adoc[ErrorInfo]::ErrorInfo :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<balxml_errorinfo.h>` Create an `ErrorInfo` object with no error. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/ErrorInfo/2constructor-05.adoc[ErrorInfo](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balxml/ErrorInfo/2constructor-05.adoc[_» more..._]# Construct a copy of the specified `other` object using the (optionally) specified `basicAllocator`, or the default allocator of none is specified. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/ErrorInfo/2constructor-01.adoc[ErrorInfo]( xref:BloombergLP/balxml/ErrorInfo.adoc[ErrorInfo] const& other, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/balxml/ErrorInfo/2constructor-01.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | memory allocator; null uses the default | *other* | object providing the value to copy |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#