Let be a code with minimal distance . Then the following statements hold:

  1. If and , then detects errors.
  2. If and , then corrects errors.

Note: this means that geometric information about a code can inform you on its error detection and correction ability!