docs: function(receiver, err) {
        if (err.description && err.description !== 'detach-forced') {
          var matchedSubs = client._subscriptions.filter(function(el) {
            var addressNoService =
                el.address.slice(client._getService().length + 1);
            var linkAddress;
            if (receiver.name.indexOf('private:') === 0 && !el.share) {
              linkAddress = receiver.name.slice(8);
            } else if (receiver.name.indexOf('share:') === 0 && el.share) {
              linkAddress =
                  receiver.name.slice(receiver.name.indexOf(':', 7) + 1);
            }
            return (addressNoService === linkAddress);
          });
          err = lookupError(err);
          if (matchedSubs.length > 0) {
            logger.log('debug', client.id, 'matchedSubs', matchedSubs);
            logger.log('emit', client.id, 'error', err);
            client.emit('error', err);
          } else {
            finishedSubscribing(err, callback);
          }
        }
      }