errors.py 214 Bytes
Newer Older
1 2 3 4
""" Taken from https://github.com/maraujop/requests-oauth2 """


class OAuth2Error(Exception):
Daniele Venzano's avatar
Daniele Venzano committed
5
    """OAuth error."""
6 7 8 9
    pass


class ConfigurationError(OAuth2Error):
Daniele Venzano's avatar
Daniele Venzano committed
10
    """OAuth configuration error."""
11
    pass