title: How to display the errors in a meteor view template
body: <p>How can I go about getting the value of the errors I have thrown in a fails insert on a collection or in a method.</p>
  
  <pre><code>Customers.allow({
  insert: function(userID, rec) {
      console.log(userID === rec.userID);
  
      if (rec.userID === null) {
          throw new Meteor.Error(600, "You must be logged in");
      };
  
      if (rec.phone.length != 10 ) {
          throw new Meteor.Error(601, "Incorect phone format", "Phone must be 10 chars long");
      };
  
      if (rec.fax.length != 10 ) {
          throw new Meteor.Error(602, "Incorect fax format", "Fax must be 10 chars long");
      };
  
      return userID === rec.userID;
  }
  </code></pre>
  
  <p>});</p>
  
  <p>So right now i see the error on the console but say if wanted this display the errors in the template or store it in a reactive session so it can be shown to the user to correct.</p>
  
  <p>like try to to something like this.</p>
  
  <pre><code>Template.form.errors = function () {
     // return however you get to those thrown errors
  }
  </code></pre>