Currently the error message shows the syntax error. Line number would really be useful if the custom types are a lot 