title: Multiple ajax calls with single fail callback
body: <p>I have two arrays with deferreds, to see if outer <code>when</code> or inner <code>when</code> failed I need to use double <code>fail</code> callback aplaying. Is there any way to populate error from inner <code>when</code> and use single <code>fail</code>? </p>
  
  <pre><code> $.when.apply(null, array1).done(function () {
              $.when.apply(null, array2).done(function () {
                  alert("all done, yupi");
              }).fail(failCallback);
          }).fail(failCallback);
  </code></pre>