aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/errors/http/http_5xx_errors.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-07-09 09:36:21 -0500
committerFrederick Muriuki Muriithi2025-07-09 09:36:21 -0500
commit72fcbb0fc1e0c347c827042722c68ab5efbcfb2e (patch)
treebe8752f36cda38c628d87f38e693e0d6e7824660 /gn_auth/errors/http/http_5xx_errors.py
parentf703399bdda4d4f4362653bdea4190804c3590d5 (diff)
downloadgn-auth-72fcbb0fc1e0c347c827042722c68ab5efbcfb2e.tar.gz
Move error handling into separate package.
Diffstat (limited to 'gn_auth/errors/http/http_5xx_errors.py')
-rw-r--r--gn_auth/errors/http/http_5xx_errors.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gn_auth/errors/http/http_5xx_errors.py b/gn_auth/errors/http/http_5xx_errors.py
new file mode 100644
index 0000000..71d09d8
--- /dev/null
+++ b/gn_auth/errors/http/http_5xx_errors.py
@@ -0,0 +1,7 @@
+"""Handlers for HTTP 5** errors."""
+
+__all__ = ["http_5xx_error_handlers"]
+
+def http_5xx_error_handlers() -> dict:
+ """Return handlers for HTTP errors in the 500-599 range"""
+ return {}