[#BloombergLP-bdljsn-Error-2constructor-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Error.adoc[Error]::Error :relfileprefix: ../../../ :mrdocs: Create an `Error` object having the default value, using the specified `basicAllocator` to supply memory. == Synopsis Declared in `<bdljsn_error.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit Error(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- == Description If `basicAllocator` is 0, the currently installed default allocator is used. == Parameters [cols="1,4"] |=== | Name| Description | *basicAllocator* | memory allocator; 0 uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#