That probably depends heavily on workload, ease of finding a replacement and time for a replacement to ramp up. Hopefully you have one or more of those factors in your favor.
Out of curiosity, when you made the mistakes did you discover the mistakes yourself and fix them or did your manager find them and fix them? Were the mistakes due to you not understanding what was required or due to carelessness?