Appends the loc to the current location chain inside the status, iff the status is non‐ok and contains a non‐empty message.

Synopsis

Declared in <absl/status/status.h>

void
AddSourceLocation(absl::SourceLocation loc = absl::SourceLocation::current());

Parameters

Name

Description

loc

The source location to append.

Created with MrDocs