MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / FormatIRestrictedErrorInfo

Method FormatIRestrictedErrorInfo

ProgramLog/error/winrt.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "win32.hpp"
9
10std::wstring Error::impl::FormatIRestrictedErrorInfo(HRESULT result, BSTR description)
11{
12 return FormatHRESULT(result, Util::Trim({ description, SysStringLen(description) }));
13}
14
15void Error::impl::HandleCriticalWithErrorInfo(std::wstring_view message, std::wstring_view error_message, std::source_location location, HRESULT err, IRestrictedErrorInfo* errInfo)
16{

Callers

nothing calls this directly

Calls 1

TrimFunction · 0.85

Tested by

no test coverage detected