:py:mod:`exception_handler` =========================== .. py:module:: conda.exception_handler .. autoapi-nested-parse:: Error handling and error reporting. Classes ------- .. autoapisummary:: conda.exception_handler.ExceptionHandler Functions --------- .. autoapisummary:: conda.exception_handler.conda_exception_handler Attributes ---------- .. autoapisummary:: conda.exception_handler.T .. py:data:: T .. py:class:: ExceptionHandler .. py:property:: http_timeout .. py:property:: user_agent .. py:property:: error_upload_url .. py:method:: __call__(func: Callable[Ellipsis, T], *args, **kwargs) -> T | int .. py:method:: write_out(*content: str) -> None .. py:method:: handle_exception(exc_val: BaseException, exc_tb: types.TracebackType) -> int .. py:method:: handle_application_exception(exc_val: BaseException, exc_tb: types.TracebackType) -> int .. py:method:: _print_conda_exception(exc_val: BaseException, exc_tb: types.TracebackType) -> None .. py:method:: handle_unexpected_exception(exc_val: BaseException, exc_tb: types.TracebackType) -> int .. py:method:: handle_reportable_application_exception(exc_val: BaseException, exc_tb: types.TracebackType) -> int .. py:method:: get_error_report(exc_val: BaseException, exc_tb: types.TracebackType) -> dict[str, str] .. py:method:: print_unexpected_error_report(error_report: dict[str, str]) -> None .. py:method:: print_expected_error_report(error_report: dict[str, str]) -> None .. py:method:: _isatty() -> bool .. py:method:: _upload(error_report: dict[str, str]) -> None Determine whether or not to upload the error report. .. py:method:: _ask_upload() -> bool .. py:method:: _execute_upload(error_report: dict[str, Any]) -> None .. py:method:: _post_upload(do_upload: bool) -> None .. py:function:: conda_exception_handler(func: Callable[Ellipsis, T], *args, **kwargs) -> T | int