stack_epitaph overloads
Declared in <folly/result/epitaph.h>
stack_epitaph
template<
/* implementation-defined */ Opt = detail::stack_epitaph_opts{},
typename... Args>
error_or_stopped
stack_epitaph(
error_or_stopped eos,
ext::format_string_and_location<Args...> snl = "",
Args const&... args);
» more...
Annotates the error state of a result<T> with a stack-trace epitaph.
template<
/* implementation-defined */ Opt = detail::stack_epitaph_opts{},
typename T,
typename... Args>
result<T>
stack_epitaph(
result<T> r,
ext::format_string_and_location<Args...> snl = "",
Args const&... args);
» more...
| Name | Description |
|---|---|
| eos | The error-or-stopped state to annotate. |
| snl | The format string and captured source location. |
| args | Format arguments for the annotation message. |
| r | The result to annotate. |