__title__ = 'dash.exceptions'
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
__copyright__ = '2013-2018 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
__all__ = (
'BaseException',
'ImproperlyConfigured',
'InvalidRegistryItemType',
'LayoutDoesNotExist',
'NoActiveLayout',
'PluginWidgetOutOfPlaceholderBoundaries',
)
[docs]class BaseException(Exception):
"""Base django-dash exception."""
[docs]class InvalidRegistryItemType(ValueError):
"""Raised when an attempt is made to register an item of improper type.
Raised when an attempt is made to register an item of improper type in
the registry .
"""
[docs]class LayoutDoesNotExist(BaseException):
"""Raised when layout does not exist."""
class NoActiveLayoutChosen(BaseException):
"""Raised when no active layout is chosen."""