class of errors exception