test/errors: factor out getValueTypes
test/errors: factor out getValueTypes

RyanTech/tchannel,i/tchannel,benfleis/tchannel,hustxiaoc/tchannel,benfleis/tchannel,sasa233/tchannel,i/tchannel,savaki/tchannel,benfleis/tchannel,Zirpon/tchannel,vanloswang/tchannel,bunnyblue/tchannel,vanloswang/tchannel,bunnyblue/tchannel,hustxiaoc/tchannel,savaki/tchannel,Zirpon/tchannel,Zirpon/tchannel,chenwenbin928/tchannel,RyanTech/tchannel,hustxiaoc/tchannel,sasa233/tchannel,savaki/tchannel,chenwenbin928/tchannel,sasa233/tchannel,bunnyblue/tchannel,vanloswang/tchannel,RyanTech/tchannel,chenwenbin928/tchannel,i/tchannel