Catches errors on classroom save