title: Preventing .ajaxError for being called if handled elsewhere
body: <p>I have a global <code>$(document).ajaxError</code> handler that takes care of most errors for me just in case there is ever an unexpected 500 error or something.  However, there are times when I want to catch errors locally in a script and then prevent that global error handler from being called.  Is there a way to do this such as you would with an event.stopPropagation()?</p>
  
  <p>Example</p>
  
  <pre><code>$.get('/something/', function() {
      alert("Stuff went well.");
  }).error(function(response)) {
      if (response.status == 404) {
          alert('Page not found');
          // Do something to stop global ajaxError from being called.
      }
  });
  </code></pre>