We say that corrects errors if, whenever up to errors occur in the transmission of any codeword (and these errors are detected), then we can reconstruct the correct codeword sent by using the other symbols sent correctly and the definition of the code .