You should never be 'a mistake' away from dismissal.
The commercial aircraft's flight deck operation is designed to be error-tolerant. You may be 'a deliberate foolhardy act' or 'a disobedience of the rules' away from dismissal, but 'a mistake', never.