Appends a source location to the status location chain.
Synopsis
Declared in <absl/status/statusor.h>
void
AddSourceLocation(absl::SourceLocation loc = absl::SourceLocation::current());
Description
Appends the loc to the current location chain inside the status, iff the status‐or is non‐ok and contains a non‐empty message.
Parameters
Name |
Description |
loc |
The source location to append. |
Created with MrDocs