Source code for pisak.blog.exceptions

"""
Blog application specific exceptions.
"""
from pisak import exceptions


[docs]class BlogInternetError(exceptions.PisakException): """ Error raised when any problems with connecting to the Internet occur. """ pass
[docs]class BlogAuthenticationError(exceptions.PisakException): """ Error raised when an authentication attempt fails. """ pass
[docs]class BlogMethodError(exceptions.PisakException): """ Error raised when any unexpected blog-related condition occurs. """ pass