ThreadSchedule 1.0.0
Modern C++ thread management library
|
Information about a task exception. More...
#include <error_handler.hpp>
Public Member Functions | |
auto | what () const -> std::string |
Get the exception message if it's a std::exception. | |
void | rethrow () const |
Rethrow the exception. |
Public Attributes | |
std::exception_ptr | exception |
std::string | task_description |
std::thread::id | thread_id |
std::chrono::steady_clock::time_point | timestamp |
Information about a task exception.
Definition at line 19 of file error_handler.hpp.
|
inline |
Rethrow the exception.
Definition at line 52 of file error_handler.hpp.
|
inlinenodiscard |
Get the exception message if it's a std::exception.
Definition at line 29 of file error_handler.hpp.
std::exception_ptr threadschedule::TaskError::exception |
Definition at line 21 of file error_handler.hpp.
std::string threadschedule::TaskError::task_description |
Definition at line 22 of file error_handler.hpp.
std::thread::id threadschedule::TaskError::thread_id |
Definition at line 23 of file error_handler.hpp.
std::chrono::steady_clock::time_point threadschedule::TaskError::timestamp |
Definition at line 24 of file error_handler.hpp.