__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
__copyright__ = '2013-2021 Artur Barseghyan'
__license__ = 'GPL-2.0-only OR LGPL-2.1-or-later'
__all__ = (
'BaseException',
'ImproperlyConfigured',
'InvalidRegistryItemType',
'LayoutDoesNotExist',
'NoActiveLayoutChosen',
'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."""
[docs]class NoActiveLayoutChosen(BaseException):
"""Raised when no active layout is chosen."""