// AddTabletErrorToTransactionInfo will mutate a TransactionInfo struct to fill in the Err // field with details from the TabletError. func AddTabletErrorToTransactionInfo(err error, reply *proto.TransactionInfo) { if err == nil { return } reply.Err = rpcErrFromTabletError(err) }