Generate error messages rather than crashing for invalid keySize/seedLen combos in index build