aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/authorisation/errors.py
blob: fa2d6b79058b947a75c2e30871935d5c36dba780 (plain)
1
2
3
4
5
6
7
8
9
10
11
"""Authorisation exceptions"""

class AuthorisationError(Exception):
    """
    Top-level exception for the `gn3.auth.authorisation` package.

    All exceptions in this package should inherit from this class.
    """

class UserRegistrationError(AuthorisationError):
    """Raised whenever a user registration fails"""