Template:cpp/thread/promise/dsc set exception at thread exit