On fault, detect bit pattern to indicate kind of fault and stop program