title: How to get details about an error from AJAX request
body: <p>I have a function that makes a request to an XML page:</p>
  
  <pre><code>$.ajax({
      type: "GET",
      url: "results.xml",
      error:  function(jqXHR, textStatus, errorThrown) {
          console.log(textStatus, errorThrown);
      },
      dataType: "xml",
      success: xmlParser
  });
  </code></pre>
  
  <p>The request fails with the error message "error". How do I get more details about why it failed?</p>