Sets the payload for a non‐ok status using a type_url key, overwriting any existing payload for that type_url.
Synopsis
Declared in <absl/status/status.h>
void
SetPayload(
std::string_view type_url,
absl::Cord payload);
Description
NOTE: This function does nothing if the Status is ok.
Parameters
Name |
Description |
type_url |
The unique key identifying the payload. |
payload |
The payload data to store. |
Created with MrDocs