DataTables warning: table id=example - Ajax error. For more information about this error, please see http://datatables.net/tn/7
Example: DataTables warning: table id=dataTable - Ajax error
This can be done using for no more error:
$.fn.dataTable.ext.errMode = 'throw';