Function nvcv::SetThreadError

Function Documentation

inline void nvcv::SetThreadError(std::exception_ptr e)

Sets the thread’s error status based on a captured exception.

This function tries to rethrow the given exception and based on its type, it sets the appropriate error status for the current thread using the nvcvSetThreadStatus function.

Parameters:

e – The captured exception to be rethrown and processed.