[#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. == Synopsis Declared in `<balxml_errorinfo.h>` [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. After construction, `severity()` will return `BAEXML_NO_ERROR`, `lineNumber()` and `columnNumber()` will each return 0, and `source()` and `message()` will each return an empty string. == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#