stats: split err into rx and tx err