Creates a StatusBuilder from a status code.
Declared in <absl/status/status_builder.h>
explicit
StatusBuilder(
absl::StatusCode code,
absl::SourceLocation location = absl::SourceLocation::current());
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.
| Name | Description |
|---|---|
| code | The status code the result will be based on. |
| location | The source location associated with the builder. |