Source code for ska.exceptions

__title__ = 'ska.exceptions'
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
__copyright__ = '2013-2019 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
__all__ = (
    'BaseSkaException',
    'ImproperlyConfigured',
    'InvalidData',
)


[docs]class BaseSkaException(Exception): """Base exception."""
[docs]class ImproperlyConfigured(BaseSkaException): """Improperly configured exception. Raised when developer didn't configure/write the code properly. """
[docs]class InvalidData(BaseSkaException): """Invalid data exception. Raised when invalid data (tampered) is detected. """