absl::Status::ErasePayload

Erases the payload corresponding to the type_url key.

Synopsis

Declared in <absl/status/status.h>

bool
ErasePayload(std::string_view type_url);

Return Value

true if the payload was present.

Parameters

NameDescription
type_urlThe unique key identifying the payload to erase.