Should be `if (t_has_error && !t_soft_error)`