Whenever we're trying to learn something new, if we make an error, we know it feels frustrating, but that state of frustration actually cues up particular brain areas to be more alert so that on subsequent attempts to learn that thing, we have a heightened level of focus and a higher probability of learning the new skill, regardless of what that skill is.