Updated error texts to be consistent [skip ci]