aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/errors/http/__init__.py
blob: f4164d16789a40b61e015f5e4b68c32d46b309ed (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
"""HTTP error handlers."""

from .http_4xx_errors import http_4xx_error_handlers
from .http_5xx_errors import http_5xx_error_handlers

__all__ = ["http_error_handlers"]

def http_error_handlers() -> dict:
    """Return *ALL* HTTP error handlers."""
    return {
        **http_4xx_error_handlers(),
        **http_5xx_error_handlers()
    }