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

Name

Description

ec

The error code tag to format.

ctx

The format context receiving the output.

Created with MrDocs