fmt::formatter<std::error_code>

Formats std::error_code as category:value, or as its message() when the s type specifier is given.

Synopsis

Declared in <fmt/std.h>

template<>
struct formatter<std::error_code>;

Member Functions

NameDescription
format Formats ec as category:value, or as ec.message() when the s specifier was given, into ctx.
parse Parses fill/align/width, the ? debug flag, and the s (message) type specifier.
set_debug_format Enables (or disables) debug-quoting of the formatted output.