title: Custom HTTP response hanlder in Datatables.js
body: <p>I am currently using Datatables.js to fetch and show data. Everything is OK.
  But there might be some cases where Datatables.js has to deal with failed HTTP requests because the server decides not to send data back.</p>
  
  <p>For example, checking against a user's identity, the server decides that this user is not authorized to see next page of data and send error messages back alongside with 401 status code.</p>
  
  <p>The problem is that whenever Datatables.js receives a non-200 response, it will generate an alert box saying "Datatables warning:...".</p>
  
  <p>Is there a way to intercept this process, provide custom handlers to Datatables.js when it encounters those HTTP responses e.g. 401, 404 , displaying error message in whatever way I want?</p>
  
  <p>Thank you.</p>