(api change) - do not pass err arg to typer() functions

this arg was always null for a while after, typer() checks
were moved after error check...
rename getType to check