aboutsummaryrefslogtreecommitdiff
"""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()
    }