Move errors string to constants