ds_stoa.utils.exceptions ======================== .. py:module:: ds_stoa.utils.exceptions .. autoapi-nested-parse:: Module for handling exceptions. This module provides a function to enrich HTTP exceptions with more context such as the request URL, status code, and response body. This additional context can be useful for debugging and logging errors that occur during HTTP requests. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/ds_stoa/utils/exceptions/_handler/index Functions --------- .. autoapisummary:: ds_stoa.utils.exceptions.enrich_http_exception Package Contents ---------------- .. py:function:: enrich_http_exception(exc: requests.exceptions.HTTPError) -> None Enriches an HTTP exception with additional context without re-raising it. :param exc: Exception :return: None