folly::empty_try_as_error_t

Empty-Try policy type that maps the empty state to an error result.

Synopsis

Declared in <folly/result/try.h>

struct empty_try_as_error_t;

Member Functions

NameDescription
on_empty_try Produces a UsingUninitializedTry error result for an empty Try.