[#fmt-formatter-047-format] = xref:fmt.adoc[fmt]::xref:fmt/formatter-047.adoc[formatter<folly::rich_ptr_to_underlying_error<Ex>>]::format :relfileprefix: ../../ :mrdocs: Formats `p` (and any epitaph stack) into the output of `ctx`. == Synopsis Declared in `<folly/result/rich_error_base.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- format_context::iterator format( xref:folly/rich_ptr_to_underlying_error.adoc[folly::rich_ptr_to_underlying_error<Ex>] const& p, format_context& ctx) const; ---- == Return Value An iterator past the written output. == Parameters [cols="1,4"] |=== | Name| Description | *p* | The rich‐error pointer to format. | *ctx* | The format context to write into. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#