In this study, we address the issue of student errors in mathematics from a constructivist perspective, in which errors are no longer viewed as something to feel guilty about that must be systematically punished, but rather as an effective indicator of the knowledge-construction process. We are particularly interested in recurring errors linked to the presence of an obstacle that has not yet been overcome-that is, an excess of existing knowledge that prevents the construction of new knowledge. To eliminate this type of error, students must be encouraged to overcome the obstacle rather than circumvent it, by placing them in a problem-solving situation where they must question their existing knowledge, deconstruct it, and rebuild it. Here we present an approach-based on various forms of learning assessment and the analysis of errors-that will provide teachers with sufficient information to guide and adjust their instruction optimally and ensure that their students truly overcome obstacles in mathematics.