Source

django-permissions / permissions / exceptions.py

Full commit

class Unauthorized(Exception):
    def __init__(self, str):
        super(Unauthorized, self).__init__(str)
        
class RolesNotEnabled(Exception):
    pass        
    
class MultiplePrincipalsAssigned(Exception):
    pass    
    
class PermissionNameExists(Exception):
    pass    
    
class TooManyArguments(Exception):
    pass