관리-도구
편집 파일: exceptions.cpython-310.pyc
o ƚ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�| _|dur!| js!t|d�r!| 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-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/requests/exceptions.pyr s � zRequestException.__init__)�__name__� __module__�__qualname__�__doc__r � __classcell__r r r r r s r c @ � e Zd ZdZdS )�InvalidJSONErrorzA JSON error occurred.N�r r r r r r r r r � r c @ r )r zAn HTTP error occurred.Nr r r r r r r r c @ r )�ConnectionErrorzA Connection error occurred.Nr r r r r r $ r r c @ r )� ProxyErrorzA proxy error occurred.Nr r r r r r ( r r c @ r )�SSLErrorzAn SSL error occurred.Nr r r r r r , r r c @ r )�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 r r c @ r )�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 r r c @ r )�ReadTimeoutz@The server did not send any data in the allotted amount of time.Nr r r r r r @ r r c @ r )�URLRequiredz*A valid URL is required to make a request.Nr r r r r r D r r c @ r )�TooManyRedirectszToo many redirects.Nr r r r r r! H r r! c @ r )� MissingSchemaz/The URL schema (e.g. http or https) is missing.Nr r r r r r"