RAID 2 uses a very specific kind of ECC called Hamming Code.
RAID 2
With RAID level 2, data correction occurs in real-time via an implementation of Error Correcting Code, or ECC for short. If one disk were to crash in a RAID 2 configuration, there would be no interruption in service. Using parity, a single missing disk is “reconstructed” on the fly.