FailingAllocator.failNth

void failNth(size_t nth) @safe pure nothrow @nogc

Arms one forced allocation failure.

Parameters

nth1-based number of the allocate call to fail, counted from this call; 0 disarms the schedule. Attempt counting continues across arms.