Make a now_task that will trivially yield an exception.
Declared in <folly/coro/safe/NowTask.h>
template<class T>
now_task<T>
make_error_now_task(exception_wrapper ew);
A now_task that completes with the given exception.
| Name | Description |
|---|---|
| ew | The exception to yield from the task. |