Mutates the builder so that the final additional message is prepended to the original error message in the status.

Synopsis

Declared in <absl/status/status_builder.h>

[[nodiscard]]
StatusBuilder&&
SetPrepend() &&;

Description

A convenience separator is not placed between the messages.

NOTE: Multiple calls to SetPrepend and SetAppend just adjust the behavior of the final join of the original status with the extra message.

Return Value

*this to allow method chaining.

Note

The return value should not be discarded.

Created with MrDocs