refactor: Teacher, FeedForwardTeacher - move error variable to abstract