From ca20ffd7758e5b29630cacbc15e4ad26a65eeb88 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 23 Apr 2026 12:27:57 -0500 Subject: AuthorisationError is HTTP status code 401. --- gn_auth/auth/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn_auth') 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.""" -- cgit 1.4.1