Gets the payload of a status given its unique type_url key, if present.
Declared in <absl/status/status.h>
std::optional<absl::Cord>
GetPayload(std::string_view type_url) const;
The payload if present, or std::nullopt otherwise.
| Name | Description |
|---|---|
| type_url | The unique key identifying the payload. |