MCPcopy Create free account
hub / github.com/fmtlib/fmt / windows_error

Function windows_error

include/fmt/os.h:150–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 */
149template <typename... T>
150auto windows_error(int error_code, string_view message, const T&... args)
151 -> std::system_error {
152 return vwindows_error(error_code, message, vargs<T...>{{args...}});
153}
154
155// Reports a Windows error without throwing an exception.
156// Can be used to report errors from destructors.

Callers 2

TESTFunction · 0.85
sizeMethod · 0.85

Calls 1

vwindows_errorFunction · 0.85

Tested by 1

TESTFunction · 0.68