zulip/zerver/exceptions.py

8 lines
209 B
Python
Raw Normal View History

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