add type error to readme