[#fmt-formatter-063] = xref:fmt.adoc[fmt]::formatter<xref:folly/rich_error_base.adoc[folly::rich_error_base]> :relfileprefix: ../ :mrdocs: `fmt::format` support for `rich_error_base` and derived classes. == Synopsis Declared in `<folly/result/rich_error_base.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> struct formatter<xref:folly/rich_error_base.adoc[folly::rich_error_base]>; ---- == Description `rich_error_base` AND derived classes are formattable. == Member Functions [cols="1,4"] |=== | Name| Description | xref:fmt/formatter-063/format.adoc[`format`] | Formats `e` (with its epitaph stack) into the output of `ctx`. | xref:fmt/formatter-063/parse.adoc[`parse`] | Parses the format spec (align/fill/padding is not yet supported). |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:fmt/formatter-03.adoc[`formatter<T>`] | `fmt::format` support for any type convertible to `rich_error_base*`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#