zulip/zephyr/exceptions.py

6 lines
169 B
Python

from django.core.exceptions import PermissionDenied
class RateLimited(PermissionDenied):
def __init__(self, msg=""):
super(RateLimited, self).__init__(msg)