use TH based error functions from base package
native: use TH based error functions
ptx: also use TH error handlers here
multi: also update for TH error messages