def METHOD_NAME(self):
    try:
        RateLimit.Limit(self.ID, self.GlobalRateLimits if self.GlobalRateLimitsPreemptiveSleep else ())
    except RateLimitExceededException:
        raise ServiceException("Global rate limit reached", user_exception=UserException(UserExceptionType.RateLimited))