fn wrap_trace_alter_failure<E>(err: E) -> Errorwhere E: ErrorExt + Send + Sync + 'static,
Preserve the original alter failure status so chunk retry behavior stays correct.