[#absl-StatusBuilder-SetPrepend-08]
= xref:absl.adoc[absl]::xref:absl/StatusBuilder.adoc[StatusBuilder]::SetPrepend
:relfileprefix: ../../
:mrdocs:

Mutates the builder so that the final additional message is prepended to the original error message in the status&period;

== Synopsis

Declared in `&lt;absl&sol;status&sol;status&lowbar;builder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
xref:absl/StatusBuilder.adoc[StatusBuilder]&&
SetPrepend() &amp;&amp;;
----

== Description

A convenience separator is not placed between the messages&period;

NOTE&colon; Multiple calls to `SetPrepend` and `SetAppend` just adjust the behavior of the final join of the original status with the extra message&period;

== Return Value

`&ast;this` to allow method chaining&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

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