folly::coro::co_error

Wraps an exception to be thrown from a coroutine via co_yield.

Synopsis

Declared in <folly/coro/Error.h>

class co_error final

Member Functions

NameDescription
co_error [constructor]Construct from arguments used to build the wrapped exception.
exception Access the wrapped exception.