Make unsupported type error message clearer.
Make unsupported type error message clearer.

Currently for types like "resource" the error message isn't clear that it's referring to the type "resource" as opposed to being about an unsupported "DataTypeToPrimitiveType resource"

PiperOrigin-RevId: 279399717
Change-Id: I8e60d1eb62aa2f3b12dcdce586dfd235cc637073

frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,annarev/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,annarev/tensorflow,freedomtan/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,adit-chandra/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,karllessard/tensorflow,aam-at/tensorflow,renyi533/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,gunan/tensorflow,renyi533/tensorflow,renyi533/tensorflow,arborh/tensorflow,yongtang/tensorflow,aldian/tensorflow,petewarden/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,annarev/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,yongtang/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,gunan/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,xzturn/tensorflow,sarvex/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,aldian/tensorflow,sarvex/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,freedomtan/tensorflow,aldian/tensorflow,aam-at/tensorflow,davidzchen/tensorflow,Intel-Corporation/tensorflow,cxxgtxy/tensorflow,Intel-Corporation/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-Corporation/tensorflow,yongtang/tensorflow,cxxgtxy/tensorflow,paolodedios/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow,xzturn/tensorflow,arborh/tensorflow,sarvex/tensorflow,aam-at/tensorflow,tensorflow/tensorflow,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,petewarden/tensorflow,gunan/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,frreiss/tensorflow-fred,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,gunan/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,gunan/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,davidzchen/tensorflow,gunan/tensorflow,xzturn/tensorflow,jhseu/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,arborh/tensorflow,gunan/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,sarvex/tensorflow,tensorflow/tensorflow,jhseu/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,freedomtan/tensorflow,Intel-Corporation/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,annarev/tensorflow,sarvex/tensorflow,jhseu/tensorflow,aam-at/tensorflow,aam-at/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,annarev/tensorflow,yongtang/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,cxxgtxy/tensorflow,gautam1858/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,annarev/tensorflow,renyi533/tensorflow,aam-at/tensorflow,arborh/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,xzturn/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,aam-at/tensorflow,annarev/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,xzturn/tensorflow,aldian/tensorflow,arborh/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,aam-at/tensorflow,karllessard/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,aam-at/tensorflow,xzturn/tensorflow,petewarden/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gunan/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,gautam1858/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,ppwwyyxx/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,aldian/tensorflow,petewarden/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,sarvex/tensorflow,tensorflow/tensorflow,cxxgtxy/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,freedomtan/tensorflow,jhseu/tensorflow