mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	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:
		
							
								
								
									
										8
									
								
								zerver/lib/exceptions.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								zerver/lib/exceptions.py
									
									
									
									
									
										Normal 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)
 | 
			
		||||
		Reference in New Issue
	
	Block a user