Extended constructibility for co_error
Summary:
[Folly] Extended constructibility for `co_error` - constructible from everything `exception_wrapper` is constructible from, but not default-constructible. This permits:
```lang=c++
co_yield folly::coro::co_error(std::runtime_error("foo"));
```
Reviewed By: lewissbaker
Differential Revision: D19172210
fbshipit-source-id: df21c4f2a15ad2286e7cb34aae7c1be05e797a94
Showing
Please register or sign in to comment