관리-도구
편집 파일: exceptions.cpython-39.pyc
a ��Re� � @ s� d Z ddlmZ G dd� de�ZG dd� de�ZG dd� de�ZG d d � d e�ZG dd� de�ZG d d� de�Z G dd� de�Z G dd� dee �ZG dd� de �ZG dd� de�Z G dd� de�ZG dd� dee�ZG dd� dee�ZG dd� dee�ZG dd � d ee�ZG d!d"� d"e�ZG d#d$� d$e�ZG d%d&� d&ee�ZG d'd(� d(ee�ZG d)d*� d*e�ZG d+d,� d,e�ZG d-d.� d.e�ZG d/d0� d0ee�ZG d1d2� d2e�Zd3S )4z` requests.exceptions ~~~~~~~~~~~~~~~~~~~ This module contains the set of Requests' exceptions. � )� HTTPErrorc s e Zd ZdZ� fdd�Z� ZS )�RequestExceptionzTThere was an ambiguous exception that occurred while handling your request. c s\ |� dd�}|| _|� dd�| _|durB| jsBt|d�rB| jj| _tt| �j|i |�� dS )zBInitialize RequestException with `request` and `response` objects.�responseN�request)�popr r �hasattr�superr �__init__)�self�args�kwargsr �� __class__� ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_vendor/requests/exceptions.pyr s � zRequestException.__init__)�__name__� __module__�__qualname__�__doc__r � __classcell__r r r r r s r c @ s e Zd ZdZdS )�InvalidJSONErrorzA JSON error occurred.N�r r r r r r r r r s r c @ s e Zd ZdZdS )r zAn HTTP error occurred.Nr r r r r r s r c @ s e Zd ZdZdS )�ConnectionErrorzA Connection error occurred.Nr r r r r r $ s r c @ s e Zd ZdZdS )� ProxyErrorzA proxy error occurred.Nr r r r r r ( s r c @ s e Zd ZdZdS )�SSLErrorzAn SSL error occurred.Nr r r r r r , s r c @ s 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 r 0 s r c @ s e Zd ZdZdS )�ConnectTimeoutz�The request timed out while trying to connect to the remote server. Requests that produced this error are safe to retry. Nr r r r r r 9 s r c @ s e Zd ZdZdS )�ReadTimeoutz@The server did not send any data in the allotted amount of time.Nr r r r r r @ s r c @ s e Zd ZdZdS )�URLRequiredz*A valid URL is required to make a request.Nr r r r r r D s r c @ s e Zd ZdZdS )�TooManyRedirectszToo many redirects.Nr r r r r r H s r c @ s e Zd ZdZdS )� MissingSchemaz/The URL schema (e.g. http or https) is missing.Nr r r r r r L s r c @ s e Zd ZdZdS )� InvalidSchemaz"See defaults.py for valid schemas.Nr r r r r r! P s r! c @ s e Zd ZdZdS )� InvalidURLz%The URL provided was somehow invalid.Nr r r r r r"