"""
Exceptions used by django-guardian. All internal and guardian-specific errors
should extend GuardianError class.
"""

class GuardianError(Exception):
    pass

class NotUserNorGroup(GuardianError):
    pass

class ObjectNotPersisted(GuardianError):
    pass

class WrongAppError(GuardianError):
    pass

