Source code for groupy.api.errors

"""
.. module:: errors
   :platform: Unix, Windows
   :synopsis: Module containing all GroupMe related error classes.

.. moduleauthor:: Robert Grant <rhgrant10@gmail.com>

The ``error`` module contains all of the exceptions thrown by the
GroupMe API.

"""

[docs]class GroupMeError(Exception): """A general GroupMe error. """ pass
[docs]class InvalidResponseError(GroupMeError): """Error representing an unparsable response from the API. """ pass
[docs]class InvalidOperatorError(NotImplementedError): """Error thrown when an unsupported filter is used. """ pass