[#BloombergLP-bdld-Datum-createError-0df]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::createError
:relfileprefix: ../../../
:mrdocs:

Return, by value, a datum having a `DatumError` value with the specified `code`&period;

== Synopsis

Declared in `&lt;bdld&lowbar;datum&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdld/Datum.adoc[Datum]
createError(int code);
----


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