%PDF- %PDF-
Direktori : /snap/core20/current/usr/lib/python3/dist-packages/requests/__pycache__/ |
Current File : //snap/core20/current/usr/lib/python3/dist-packages/requests/__pycache__/exceptions.cpython-38.pyc |
U (q�\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 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__� �5/usr/lib/python3/dist-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 )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.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 , 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 5 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 <