docs: function (subId, error) {
      var self = this;
  
      if (subId && self._namedSubs[subId]) {
        self._namedSubs[subId]._removeAllDocuments();
        self._namedSubs[subId]._deactivate();
        delete self._namedSubs[subId];
      }
  
      var response = {msg: 'nosub', id: subId};
  
      if (error)
        response.error = wrapInternalException(error, "from sub " + subId);
  
      self.send(response);
    }