Mastodonplus.py/mastodon/exceptions.py
2017-04-10 22:48:30 +00:00

19 líneas
318 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Exceptions"""
class MastodonIllegalArgumentError(ValueError):
pass
class MastodonFileNotFoundError(IOError):
pass
class MastodonNetworkError(IOError):
pass
class MastodonAPIError(Exception):
pass
class MastodonRatelimitError(Exception):
pass