title: Less repetitive error handling jquery
body: <p>I have a page with a lot of jquery requests.
  I always add something like this to my calls...</p>
  
  <pre><code>error: function(xhr, ajaxOptions, thrownError)
    {
          alert('Error in AJAX response.  Please see console log for details.');
  
      console.log(thrownError);
      console.log("readyState: " + xhr.readyState);
          console.log("responseText: "+ xhr.responseText);
          console.log("status: " + xhr.status);
    }
  </code></pre>
  
  <p>Question: Is there a simpler less repetitive way to do this? Rather than adding it to each request.</p>