[#BloombergLP-bdljsn-Error-setMessage] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Error.adoc[Error]::setMessage :relfileprefix: ../../../ :mrdocs: Set the `message` attribute of this object to the specified `value`. == Synopsis Declared in `<bdljsn_error.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/Error.adoc[Error]& setMessage(std::string_view const& value); ---- == Return Value a non‐`const` reference to this object == Parameters [cols="1,4"] |=== | Name| Description | *value* | description of the error |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#