diff options
author | Frederick Muriuki Muriithi | 2022-11-24 13:37:27 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-11-24 13:37:27 +0300 |
commit | bac3865f7c0d625f2932e1c3fb001cc6a0048921 (patch) | |
tree | 2f5f90ce2d2deb2f6e8c9d030f3af41b2e599a4c /gn3/auth/authorisation | |
parent | 1f68ade38e8d3694e7e64f98282ed3eab09feac6 (diff) | |
download | genenetwork3-bac3865f7c0d625f2932e1c3fb001cc6a0048921.tar.gz |
auth: Define base exceptions
* gn3/auth/authentication/exceptions.py: define `AuthenticationError`
* gn3/auth/authorisation/exceptions.py: define `AuthorisationError`
Diffstat (limited to 'gn3/auth/authorisation')
-rw-r--r-- | gn3/auth/authorisation/exceptions.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gn3/auth/authorisation/exceptions.py b/gn3/auth/authorisation/exceptions.py new file mode 100644 index 0000000..16fc9bb --- /dev/null +++ b/gn3/auth/authorisation/exceptions.py @@ -0,0 +1,8 @@ +"""Authorisation exceptions""" + +class AuthorisationError(Exception): + """ + Top-level exception for the `gn3.auth.authorisation` package. + + All exceptions in this package should inherit from this class. + """ |