Source code for starbase.exceptions
__title__ = 'starbase.exceptions'
__author__ = 'Artur Barseghyan'
__copyright__ = 'Copyright (c) 2013 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
__all__ = ('ImproperlyConfigured', 'InvalidArguments', 'ParseError', 'DoesNotExist')
class BaseException(Exception):
"""
Base exception.
"""
[docs]class InvalidArguments(ValueError, BaseException):
"""
Exception raised when invalid arguments supplied.
"""
[docs]class ParseError(BaseException):
"""
Raised if the request or response contain malformed data.
"""
[docs]class DoesNotExist(BaseException):
"""
Does not exist.
"""