title: Error handle in Meteor in calling server side method
body: <p>I call a method for deleting family from server/publicationMehods like this:</p>
  
  <pre><code>    deletedFamily(family) {
        if (Meteor.user().roles[0] == "admin") {
  
  
  
           var myUsers = Meteor.users.find({"profile.family_id": family._id}).fetch();
  
           for (var i = 0; i &lt; myUsers.length; i++) {
             UsersDeleted.insert(myUsers[i]);
             Meteor.users.remove(myUsers[i]);
            }
  
           var myGuests= Guests.find({"profile.family_id": family._id}).fetch();
  
           for (var i = 0; i &lt; myGuests.length; i++) {
             GuestsDeleted.insert(myGuests[i]);
             Guests.remove(myGuests[i]);
            }
  
           FamiliesDeleted.insert(family);
           Families.remove(family);
  
        }
  }
  </code></pre>
  
  <p>I want to handle exception and catch it if any errors happend and in frond-end show the result. I know there is not any transaction in Meteor. But I need to show the result to user at least.</p>