� ��^i� � �� � d Z ddlmZ G d� de� � Z G d� de� � Z G d� de� � Z G d � d e� � Z G d� de� � Z G d � de� � Z G d� de� � Z G d� dee � � Z G d� de � � Z G d� de� � Z G d� de� � Z G d� dee� � Z G d� dee� � Z G d� dee� � Z G d� d ee� � Z G d!� d"e� � Z G d#� d$e� � Z G d%� d&ee� � Z G d'� d(ee� � Z G d)� d*e� � Z G d+� d,e� � Z G d-� d.e� � Z G d/� d0ee� � Z G d1� d2e� � Zd3S )4z` requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. � )� HTTPErrorc �" � � e Zd ZdZ� fd�Z� xZS )�RequestExceptionzTThere was an ambiguous exception that occurred while handling your request. c � �� |� dd� � }|| _ |� dd� � | _ |�(| j s!t |d� � r| j j | _ t t | � � j |i |�� dS )zBInitialize RequestException with `request` and `response` objects.�responseN�request)�popr r �hasattr�superr �__init__)�self�args�kwargsr � __class__s ���/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/requests/exceptions.pyr zRequestException.__init__ s� �� ��:�:�j�$�/�/�� �� ��z�z�)�T�2�2���� ��� ���)�,�,� !��=�0�D�L�.����%�%�.��?��?�?�?�?�?� )�__name__� __module__�__qualname__�__doc__r � __classcell__)r s @r r r sK �� � � � � �� �@� @� @� @� @� @� @� @� @r r c � � e Zd ZdZdS )�InvalidJSONErrorzA JSON error occurred.N�r r r r � r r r r � � � � � � � � � � r r c � � e Zd ZdZdS )r zAn HTTP error occurred.Nr r r r r r � � � � � � �!�!�!�!r r c � � e Zd ZdZdS )�ConnectionErrorzA Connection error occurred.Nr r r r r r $ s � � � � � �&�&�&�&r r c � � e Zd ZdZdS )� ProxyErrorzA proxy error occurred.Nr r r r r" r" ( r r r" c � � e Zd ZdZdS )�SSLErrorzAn SSL error occurred.Nr r r r r$ r$ , r r r$ c � � e Zd ZdZdS )�Timeoutz�The request timed out. Catching this error will catch both :exc:`~requests.exceptions.ConnectTimeout` and :exc:`~requests.exceptions.ReadTimeout` errors. Nr r r r r&