improve type parsing error msg
nicer error messages when schema parsing fails
add useful error messages for common parse conditions