raise InvalidType err on bad type creating table