What is the state or result of having deviated; a transgression; an act of sin; an error; an offense called?

deviation — The state or result of having deviated; a transgression; an act of sin; an error; an offense. (Webster's 1913.)

Sources