Text this: Minimum distances of error-correcting codes in incidence rings