1620s, from errant + -ancy.
he denies the errancy of the Catholic Church
eroticism
eroticize
erotomania
erotomaniac
err
errancy
errand
errant
errata
erratic
erratum