Pedagogy covers this widely within theory of education and particularly in errors and failures topics (e.g. educational mistakes, pseudo-upbringing)