Your IP : 13.58.84.207
3
��[q � @ 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� dee �Z
G dd� de �ZG dd� de�ZG dd� de�Z
G dd� dee�ZG dd� dee�ZG dd� dee�ZG dd� dee�ZG dd � 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-d.� d.ee�ZG d/d0� d0e�Zd1S )2z`
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 sZ |j dd�}|| _|j dd�| _|dk rD| j rDt|d�rD| jj| _tt| �j||� dS )zBInitialize RequestException with `request` and `response` objects.�responseN�request)�popr r �hasattr�superr �__init__)�self�args�kwargsr )� __class__� � /usr/lib/python3.6/exceptions.pyr s
zRequestException.__init__)�__name__�
__module__�__qualname__�__doc__r �
__classcell__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 , 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 5 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 <