HPCC-9034 Return better error messages