s/phaseErrorMessage/errorMessage/

I was confused by the "phase"