Return, by value, a datum having a DatumError value with the specified code and the specified message, using the specified allocator to supply memory (if needed).
Declared in <bdld_datum.h>
static
Datum
createError(
int code,
bslstl::StringRef const& message,
AllocatorType const& allocator);