[tor-commits] [onionperf/master] Refine error codes into TOR or TGEN errors.