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

Function system_error

include/fmt/format.h:4289–4292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4287 */
4288template <typename... T>
4289auto system_error(int error_code, format_string<T...> fmt, T&&... args)
4290 -> std::system_error {
4291 return vsystem_error(error_code, fmt.str, vargs<T...>{{args...}});
4292}
4293
4294/**
4295 * Formats an error message for an error returned by an operating system or a

Callers 15

throw_system_errorFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
system_error_messageFunction · 0.85
flushMethod · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
vwindows_errorFunction · 0.85
buffered_fileMethod · 0.85
closeMethod · 0.85
descriptorMethod · 0.85

Calls 1

vsystem_errorFunction · 0.85

Tested by 8

throw_system_errorFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
system_error_messageFunction · 0.68
flushMethod · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68