Updated error reporting within harness to match that of tsc.