diff options
| author | Frederick Muriuki Muriithi | 2026-04-23 12:27:57 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-04-23 12:27:57 -0500 |
| commit | ca20ffd7758e5b29630cacbc15e4ad26a65eeb88 (patch) | |
| tree | 6dccafca48f4a466ccfbfe1ebfcfff75aa7bbdce /gn_auth | |
| parent | 2252a58bcd22d1241eae47444efc8a3f2393b02a (diff) | |
| download | gn-auth-ca20ffd7758e5b29630cacbc15e4ad26a65eeb88.tar.gz | |
AuthorisationError is HTTP status code 401.
Diffstat (limited to 'gn_auth')
| -rw-r--r-- | gn_auth/auth/errors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/errors.py b/gn_auth/auth/errors.py index 77b73aa..c499e86 100644 --- a/gn_auth/auth/errors.py +++ b/gn_auth/auth/errors.py @@ -6,7 +6,7 @@ class AuthorisationError(Exception): All exceptions in this package should inherit from this class. """ - error_code: int = 400 + error_code: int = 401 class ForbiddenAccess(AuthorisationError): """Raised for forbidden access.""" |
