aboutsummaryrefslogtreecommitdiff
path: root/gn3/oauth2/errors.py
blob: f8cfd2c859f1dbbaed246404d85d26089639a0fb (plain)
1
2
3
4
5
6
7
8
"""List of possible errors."""

class AuthorisationError(Exception):
    """Top-level error class dealing with generic authorisation errors."""


class TokenValidationError(AuthorisationError):
    """Class to indicate that token validation failed."""