Source code for pytwitcherapi.exceptions

"""Collection exceptions"""


__all__ = ['PytwitcherException', 'NotAuthorizedError']


[docs]class PytwitcherException(Exception): """Base exception for pytwitcher""" pass
[docs]class NotAuthorizedError(PytwitcherException): """Exception that is raised, when the session is not authorized. The user has to login first""" pass