title: how to manage ajax response errors
body: <p>I am writing <code>javascript</code> app and I am using <code>backbone.js</code>.on the app i have <strong><em>several views</em></strong> in a page, <strong><em>majority views</em></strong> sent <code>request</code> (requests &lt;- they are ajax-query,but  not <code>backbone.js</code> ajax-query) to server <strong><em>at the same time</em></strong>, and they had a result in a closely period. If something happened wrong with server or net some <code>response</code> would broken and returned with errors. The problem is that all errors <strong>need to display</strong> by alerts to user, despite the fact that it is boring to see more and more alerts for users . How can I manage the alerts?
  I used  <code>settimeout</code> to show alerts, but this way is not helpful to <strong><em>decrease</em></strong> count of alerts. 
  If You  know another way please tell me about it ?</p>