Source

appspace / appspace / support.py

Full commit
# -*- coding: utf-8 -*-
'''appspace imports'''

# pylint: disable-msg=f0401
from zope.interface import implementer, implementedBy
from zope.interface.adapter import AdapterRegistry, VerifyingAdapterRegistry
# pylint: enable-msg=f0401

keys = implementedBy
AppStore = AdapterRegistry
StrictAppStore = VerifyingAdapterRegistry
appifies = implementer


class ConfigurationError(Exception):

    '''appspace configuration exception'''


class NoAppspaceError(Exception):

    '''no appspace found error'''


class NoAppError(Exception):

    '''mo application found exception'''