Loading...
Searching...
No Matches
eonc::JobCancelled Class Reference

Cooperative stop. Loops poll and throw; they do not abort the process. More...

#include <CancelToken.h>

Inheritance diagram for eonc::JobCancelled:

Public Member Functions

 JobCancelled (const char *site="cancelled")

Detailed Description

Cooperative stop. Loops poll and throw; they do not abort the process.

Definition at line 22 of file CancelToken.h.

Constructor & Destructor Documentation

◆ JobCancelled()

eonc::JobCancelled::JobCancelled ( const char * site = "cancelled")
inlineexplicit

Definition at line 24 of file CancelToken.h.

25 : std::runtime_error(std::string("job cancelled at ") +
26 (site != nullptr ? site : "cancelled")) {}

The documentation for this class was generated from the following file: