[#absl-StatusBuilder-2constructor-02]
= xref:absl.adoc[absl]::xref:absl/StatusBuilder.adoc[StatusBuilder]::StatusBuilder
:relfileprefix: ../../
:mrdocs:

Creates a `StatusBuilder` based on an original status&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
StatusBuilder(
    xref:absl/Status.adoc[absl::Status]&& original&lowbar;status,
    xref:absl/SourceLocation.adoc[absl::SourceLocation] location = absl&colon;&colon;SourceLocation&colon;&colon;current());
----

== Description

If logging is enabled, it will use `location` as the location from which the log message occurs&period; A typical user will not specify `location`, allowing it to default to the current location&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original&lowbar;status*
| The status the result will be based on&period;
| *location*
| The source location associated with the builder&period;
|===


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