ΒΆvoid format_system_error(
detail::buffer<char>& out,
int error_code,
const char* message) noexcept
void format_system_error(
detail::buffer<char>& out,
int error_code,
const char* message) noexcept
Description
\rstFormats an error message for an error returned by an operating system or a language runtime, for example a file opening error, and writes it to *out*. The format is the same as the one used by ``std::system_error(ec, message)`` where ``ec`` is ``std::error_code(error_code, std::generic_category()})``. It is implementation-defined but normally looks like: .. parsed-literal:: <message >*: * <system -message>* where * <message >* is the passed message and * <system -message>* is the system message corresponding to the error code. error_code* is a system error code as given by ``errno``.\endrst
Declared at: third_party/fmt/include/fmt/format.h:3985
Parameters
- detail::buffer<char>& out
- int error_code
- const char* message