[#fmt-formatter-047] = xref:fmt.adoc[fmt]::formatter<xref:folly/rich_ptr_to_underlying_error.adoc[folly::rich_ptr_to_underlying_error<Ex>]> :relfileprefix: ../ :mrdocs: `fmt::format` support for the pointer‐like returned by `get_exception<Ex>()`. == Synopsis Declared in `<folly/result/rich_error_base.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Ex> struct formatter<xref:folly/rich_ptr_to_underlying_error.adoc[folly::rich_ptr_to_underlying_error<Ex>]>; ---- == Description Format pointer‐like returned by `get_exception<Ex>(rich_exception_ptr)`. Crucially, this displays `epitaph()` stacks when available. == Member Functions [cols="1,4"] |=== | Name| Description | xref:fmt/formatter-047/format.adoc[`format`] | Formats `p` (and any epitaph stack) into the output of `ctx`. | xref:fmt/formatter-047/parse.adoc[`parse`] | Parses the format spec, delegating to `Ex`'s formatter when applicable. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#