12 const char *what()
const noexcept
override {
return "co_await canceled";}
21 const char *what()
const noexcept
override {
return "Operation is still pending";}
Exception is thrown on attempt to retrieve value after promise has been broken.
Exception is thrown on attempt to retrieve promise when the future is already pending.