Creates a StatusBuilder based on an original status.
Synopsis
Declared in <absl/status/status_builder.h>
explicit
StatusBuilder(
absl::Status const& original_status,
absl::SourceLocation location = absl::SourceLocation::current());
Description
If logging is enabled, it will use location as the location from which the log message occurs. A typical user will not specify location, allowing it to default to the current location.
Parameters
Name |
Description |
original_status |
The status the result will be based on. |
location |
The source location associated with the builder. |
Created with MrDocs