wwa-coro
0.0.1
Yet Another C++20 Coroutine Library
src
exceptions.h
Go to the documentation of this file.
1
#ifndef A271EFBC_A65F_4947_8E87_D4194949A073
2
#define A271EFBC_A65F_4947_8E87_D4194949A073
3
11
12
#include <stdexcept>
13
14
namespace
wwa::coro
{
15
23
class
bad_result_access
:
public
std::logic_error {
24
public
:
25
using
std::logic_error::logic_error;
26
};
27
34
class
bad_task
:
public
std::logic_error {
35
public
:
36
using
std::logic_error::logic_error;
37
};
38
39
}
// namespace wwa::coro
40
41
#endif
/* A271EFBC_A65F_4947_8E87_D4194949A073 */
wwa::coro::bad_result_access
Exception thrown when accessing a result that is not available.
Definition
exceptions.h:23
wwa::coro::bad_task
Exception thrown when a coroutine task is invalid.
Definition
exceptions.h:34
wwa::coro
Library namespace.
Definition
async_generator.h:30
Generated by
1.13.2