It's related to the idea of being lost or making a mistake. This root is found in many English words, including:
* Error: a mistake.
* Erratic: unpredictable, wandering.
* Erroneous: incorrect, mistaken.
* Aberration: a deviation from the normal.
* Errant: wandering, straying.