blob: 89c59835bbdc3804cb60b9dc5f14a71a871d33f5 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
"""Authorisation exceptions"""
class AuthorisationError(Exception):
"""
Top-level exception for the `gn3.auth.authorisation` package.
All exceptions in this package should inherit from this class.
"""
error_code: int = 500
class UserRegistrationError(AuthorisationError):
"""Raised whenever a user registration fails"""
|