MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / ComposeWhatString_

Method ComposeWhatString_

IntelPresentMon/CommonUtilities/Exception.cpp:31–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 return buffer_.c_str();
30 }
31 std::string Exception::ComposeWhatString_() const noexcept
32 {
33 try {
34 std::ostringstream oss;
35 oss << GetNote();
36 if (pTrace_) {
37 oss << "\n" << GetTraceString();
38 }
39 return oss.str();
40 }
41 catch (...) {}
42 return {};
43 }
44 const std::string& Exception::GetNote() const
45 {
46 return note_;

Callers

nothing calls this directly

Calls 1

GetSEHSymbolFunction · 0.85

Tested by

no test coverage detected