absl::MakeStatusRepImpl

Builds a status representation from an inlined rep and a message.

Synopsis

Declared in <absl/status/status.h>

uintptr_t
MakeStatusRepImpl(
    uintptr_t inlined_rep,
    StringOrView msg,
    absl::SourceLocation loc);

Return Value

The representation for the resulting status.

Parameters

NameDescription
inlined_repThe inlined representation carrying the error code.
msgThe error message.
locThe source location of the callsite.