FiberBase.yieldAndThrow

void yieldAndThrow( Throwable t ) nothrow @nogc

Forces a context switch to occur away from the calling fiber and then throws obj in the calling fiber.

Parameters

tThe object to throw. In: t must not be null.