code: func (s *Subscription) PendingLimits() (int, int, error) {
  	if s == nil {
  		return -1, -1, ErrBadSubscription
  	}
  	s.mu.Lock()
  	defer s.mu.Unlock()
  	if s.conn == nil {
  		return -1, -1, ErrBadSubscription
  	}
  	if s.typ == ChanSubscription {
  		return -1, -1, ErrTypeSubscription
  	}
  	return s.pMsgsLimit, s.pBytesLimit, nil
  }
docs: // PendingLimits returns the current limits for this subscription.
  // If no error is returned, a negative value indicates that the
  // given metric is not limited.