An exception thrown when a DataLoader's worker thread throws an exception, which is caught. More...
#include <worker_exception.h>
Public Member Functions | |
| WorkerException (std::exception_ptr original) | |
Constructs a WorkerException from an exception_ptr. | |
| const char * | what () const noexceptoverride |
Data Fields | |
| std::exception_ptr | original_exception |
| The original exception thrown in the worker thread. | |
| std::string | message |
| This exception's message (not the original exception's message). | |
An exception thrown when a DataLoader's worker thread throws an exception, which is caught.
A WorkerException stores an exception_ptr to the original exception thrown in the worker thread.
Definition at line 13 of file worker_exception.h.
1.8.11