Represents the cancellation of a task. More...
#include "exception.h"
Public Member Functions | |
exception_error_code | code () const noexcept |
Get exception code. More... | |
const char * | what () const noexcept override |
Get exception message. More... | |
Protected Attributes | |
exception_error_code | error_code |
Exception error code. More... | |
std::string | msg |
Exception message. More... | |
Represents the cancellation of a task.
Will be thrown to the awaiter of a cancelled task.
|
inlinenoexceptinherited |
Get exception code.
|
inlineoverridenoexceptinherited |
Get exception message.
Referenced by main().
|
protectedinherited |
Exception error code.
|
protectedinherited |
Exception message.
Referenced by dpp::exception::exception().