title: Jquery Ajax error handling to ignore aborted
body: <p>I want to have a global error handling method for ajax calls, this is what I have now:</p>
  
  <pre><code>$.ajaxSetup({
    error: function (XMLHttpRequest, textStatus, errorThrown) {
      displayError();
    }
  });
  </code></pre>
  
  <p>I need to ignore the error of <code>aborted</code>. <code>errorThrown</code> is null and <code>textStatus</code> is <code>error</code>. How do I check for <code>aborted</code>?</p>