Returns the source locations previously recorded in the status.

Synopsis

Declared in <absl/status/status_builder.h>

decltype(auto)
GetPreviousSourceLocations() const;

Description

This will not include the source location of the StatusBuilder itself (which is available via source_location()). When the builder is converted to a Status, the builder's location will be appended to this list of previous locations. For `StatusBuilder`s created without an original status (e.g., from a status code), this will be empty.

Return Value

The list of previously recorded source locations.

Created with MrDocs