HPCC-9799 Working

Re-implemented errs into new routine.

Signed-off-by: jamienoss <james.noss@lexisnexis.com>