Struct WorkerException#
Defined inFile worker_exception.h
Inheritance Relationships#
Base Type#
publicstd::exception
Struct Documentation#
- structWorkerException:publicstd::exception#
An exception thrown when a DataLoader’s worker thread throws an exception, which is caught.
A
WorkerExceptionstores anexception_ptrto the original exception thrown in the worker thread.Public Functions
- inlineexplicitWorkerException(std::exception_ptroriginal)#
Constructs a
WorkerExceptionfrom anexception_ptr.
- inlineconstchar*what()constnoexceptoverride#
- inlineexplicitWorkerException(std::exception_ptroriginal)#