Get rid of some of the function wrappers that add noise to stack traces. Useful for more than just `TSError`, since node resolution errors also pass through here. Might be good for perf, too? Fewer functions and calls?