Progress through trial and error depends not only on making trials, but on recognizing errors.