It's now possible te get an exception from a function in a task.
The interface is like std::future: if you call .Get() you will get the result (as before) or the exception will be thrown.
The pathfinder is changed: now it calls .Get to get possible exceptions.
I made the MapGenerator use exception as an example.
I don't know if this also does handle windows structured exceptions. See: https://learn.microsoft.com/en-us/cpp/cpp/transporting-exceptions-between-threads
Ref: #5874