correction: getErrorMessage