fmt::format support for the pointer‐like returned by get_exception<Ex>().

Synopsis

Declared in <folly/result/rich_error_base.h>

template<typename Ex>
struct formatter<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

Name

Description

format

Formats p (and any epitaph stack) into the output of ctx.

parse

Parses the format spec, delegating to Ex's formatter when applicable.

Created with MrDocs