[#absl-Status-2constructor-07] = xref:absl.adoc[absl]::xref:absl/Status.adoc[Status]::Status :relfileprefix: ../../ :mrdocs: Creates a status from a `base_status` and a `loc`. == Synopsis Declared in `<absl/status/status.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Status( xref:absl/Status.adoc[Status] const& base_status, xref:absl/SourceLocation.adoc[absl::SourceLocation] loc); ---- == Description The `loc` will be appended to the location chain of the new status, iff the `base_status` is not ok and has non‐empty msg. == Parameters [cols="1,4"] |=== | Name| Description | *base_status* | The status to copy. | *loc* | The source location to append to the location chain. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#