[#BloombergLP-bdld-DatumError-message] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumError.adoc[DatumError]::message :relfileprefix: ../../../ :mrdocs: Return a reference to the non‐modifyable error message. == Synopsis Declared in `<bdld_datumerror.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] message() const; ---- == Description The returned reference remains valid as long as the underlying message is not modified or destroyed ‐‐ irrespective of the state (or existence) of this object. The behavior is undefined unless the underlying error message has been modified or destroyed since this object was created. == Return Value non‐modifiable reference to the error message [.small]#Created with https://www.mrdocs.com[MrDocs]#