Attaches a MessageSet extension payload to the result status.
Synopsis
Declared in <absl/status/status_builder.h>
template<
typename MessageSetExtension,
typename ExtensionIdentifier>
StatusBuilder&
AttachPayload(
MessageSetExtension const& obj,
ExtensionIdentifier const& id) &
requires std::is_void_v<decltype(AbslInternalAttachPayload(*this, obj, id))>;
Description
INTERNAL API. NOT FOR PUBLIC USE.
Return Value
*this to allow method chaining.
Parameters
Name |
Description |
obj |
The extension message to attach. |
id |
The extension identifier for |
Created with MrDocs