fmt::formatter</* implementation-defined */>::format

Formats the error code into the output.

Synopsis

Declared in <folly/result/errc_rich_error.h>

fmt::appender
format(
    /* implementation-defined */ ec,
    format_context& ctx) const;

Return Value

An output iterator past the formatted text.

Parameters

NameDescription
ecThe error code tag to format.
ctxThe format context receiving the output.