code: function(id, msg) {
          var q = queues[id];
          // execute failure callback
          if (q.onFailure) {
              var sc=q.scope || q.win;
              q.onFailure.call(sc, _returnData(q, msg));
          }
      }
docs: /*
  The request failed, execute fail handler with whatever
  was accomplished.  There isn't a failure case at the
  moment unless you count aborted transactions
  @method _fail
  @param id {string} the id of the request
  @private