[#fmt-formatter-063]
= xref:fmt.adoc[fmt]::formatter&lt;xref:folly/rich_error_base.adoc[folly::rich&lowbar;error&lowbar;base]&gt;
:relfileprefix: ../
:mrdocs:

`fmt&colon;&colon;format` support for `rich&lowbar;error&lowbar;base` and derived classes&period;

== Synopsis

Declared in `&lt;folly&sol;result&sol;rich&lowbar;error&lowbar;base&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
struct formatter&lt;xref:folly/rich_error_base.adoc[folly::rich&lowbar;error&lowbar;base]&gt;;
----

== Description

`rich&lowbar;error&lowbar;base` AND derived classes are formattable&period;

== 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`&period;
| xref:fmt/formatter-063/parse.adoc[`parse`] 
| Parses the format spec (align&sol;fill&sol;padding is not yet supported)&period;
|===


== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:fmt/formatter-03.adoc[`formatter&lt;T&gt;`] 
| `fmt&colon;&colon;format` support for any type convertible to `rich&lowbar;error&lowbar;base&ast;`&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
