StrFormatInternalBug

Format an internal bug report message that includes its source location.

Synopsis

Declared in <util/check.h>

std::string
StrFormatInternalBug(
    std::string_view msg,
    std::source_location const& loc);

Return Value

The formatted internal bug message.

Parameters

NameDescription
msgThe message describing the internal bug.
locThe source location where the bug was detected.