absl::StatusBuilder::SetPrepend

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

Synopses

Declared in <absl/status/status_builder.h>

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

StatusBuilder&
SetPrepend() &;
» more...

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

[[nodiscard]]
StatusBuilder&&
SetPrepend() &&;
» more...

Return Value

*this to allow method chaining.