[#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&hyphen;modifyable error message&period;

== Synopsis

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

[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 &hyphen;&hyphen; irrespective of the state (or existence) of this object&period; The behavior is undefined unless the underlying error message has been modified or destroyed since this object was created&period;

== Return Value

non&hyphen;modifiable reference to the error message


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