exceptions: Move zerver/exceptions.py under zerver/lib/.

Seems like a more appropriate place for it.  Preparation for
moving a bit more into that file.
This commit is contained in:
Greg Price
2017-07-19 15:38:39 -07:00
committed by Tim Abbott
parent e18baff32c
commit a5597e91a1
3 changed files with 2 additions and 2 deletions

8
zerver/lib/exceptions.py Normal file
View File

@@ -0,0 +1,8 @@
from __future__ import absolute_import
from django.core.exceptions import PermissionDenied
class RateLimited(PermissionDenied):
def __init__(self, msg=""):
# type: (str) -> None
super(RateLimited, self).__init__(msg)