better error if mis-diagnosed