Your IP : 3.12.71.166
B
^��`� � @ 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 sX |� dd�}|| _|� dd�| _|dk rB| jsBt|d�rB| jj| _tt| �j||� dS )zBInitialize RequestException with `request` and `response` objects.�responseN�request)�popr r �hasattr�superr �__init__)�self�args�kwargsr )� __class__� �D/opt/alt/python37/lib/python3.7/site-packages/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.N)r r r r r r r r r s r c @ s e Zd ZdZdS )�ConnectionErrorzA Connection error occurred.N)r r r r r r r r r $ s r c @ s e Zd ZdZdS )�
ProxyErrorzA proxy error occurred.N)r r r r r r r r r ( s r c @ s e Zd ZdZdS )�SSLErrorzAn SSL error occurred.N)r r r r 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.
N)r r r r 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.
N)r r r r 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.N)r r r r r r r r r @ s r c @ s e Zd ZdZdS )�URLRequiredz*A valid URL is required to make a request.N)r r r r r r r r r D s r c @ s e Zd ZdZdS )�TooManyRedirectszToo many redirects.N)r r r r r r r r r H s r c @ s e Zd ZdZdS )�
MissingSchemaz/The URL schema (e.g. http or https) is missing.N)r r r r r r r r r L s r c @ s e Zd ZdZdS )�
InvalidSchemaz"See defaults.py for valid schemas.N)r r r r r r r r r P s r c @ s e Zd ZdZdS )�
InvalidURLz%The URL provided was somehow invalid.N)r r r r r r r r r T s r c @ s e Zd ZdZdS )�
InvalidHeaderz.The header value provided was somehow invalid.N)r r r r r r r r r! X s r! c @ s e Zd ZdZdS )�InvalidProxyURLz"The proxy URL provided is invalid.N)r r r r r r r r r"