Add TypeErr paramter to the parser
Improve typer error messages