Who learns from errors on a class test? Antecedents and profiles of adaptive reactions to errors in a failure situation