Yes- this is a big deal- you want to be able to make mistakes without losing track of either the time or of your place in the measure.Our inclination when we make a mistake when practising is to stop and reset ourselves. DON'T. Instead try to recover - keep the metronome or the track going and get back to where you want to be whether you are playing rudiments or syncopation or grooves or whatever. In short incorporate practising recovery naturally into your practice regime.
Recorded mistakes: on Evidence on Thelonious Monk @ the Blackhawk, Billy Higgins apparently doesn't know the tune, because he shifts his time to move the & of 1 hits on the bridge onto beat 2- that's kind of a mess. Also in transcribing the drumming on the guitar solo (in 19/16) from Zappa's "Keep It Greasey", I discovered that Vinnie blew past one of the downbeats- he played a measure of 5/4 instead of 4/4+3/16 (a mistake we've all made a million times). It's difficult to catch unless you're going through the piece measure by measure, because he corrects it instantly- he probably heard that he put the downbeat on the e of 1 as soon as he played it.