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

Name

Description

msg

The message describing the internal bug.

loc

The source location where the bug was detected.

Created with MrDocs