Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 38 lines (25 sloc) 0.81 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
# -*- coding: utf-8 -*-
class PluginAlreadyRegistered(Exception):
    pass

class PluginNotRegistered(Exception):
    pass

class AppAlreadyRegistered(Exception):
    pass

AppAllreadyRegistered = AppAlreadyRegistered # backwards compatibility, will be dropped in 2.3

class NotImplemented(Exception):
    pass

class SubClassNeededError(Exception):
    pass

class MissingFormError(Exception):
    pass

class NoHomeFound(Exception):
    pass


class PermissionsException(Exception):
    """Base permission exception
"""

class NoPermissionsException(PermissionsException):
    """Can be fired when some violate action is performed on permission system.
"""
    
class Deprecated(Exception): pass
    
class DuplicatePlaceholderWarning(Warning): pass

class DontUsePageAttributeWarning(Warning): pass
Something went wrong with that request. Please try again.