Chains with error and error correcting code