%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core20/current/usr/lib/python3/dist-packages/requests/__pycache__/
Upload File :
Create Path :
Current File : //snap/core20/current/usr/lib/python3/dist-packages/requests/__pycache__/exceptions.cpython-38.pyc

U

(q�\q�@s�dZddlmZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�ZGd
d�de�Z	Gdd�dee	�Z
Gdd�de	�ZGdd�de�ZGdd�de�Z
Gdd�dee�ZGdd�dee�ZGdd�dee�ZGdd�dee�ZGdd �d e�ZGd!d"�d"e�ZGd#d$�d$ee�ZGd%d&�d&ee�ZGd'd(�d(e�ZGd)d*�d*e�ZGd+d,�d,e�ZGd-d.�d.ee�ZGd/d0�d0e�Zd1S)2z`
requests.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of Requests' exceptions.
�)�	HTTPErrorcs eZdZdZ�fdd�Z�ZS)�RequestExceptionzTThere was an ambiguous exception that occurred while handling your
    request.
    csX|�dd�}||_|�dd�|_|dk	rB|jsBt|d�rB|jj|_tt|�j||�dS)zBInitialize RequestException with `request` and `response` objects.�responseN�request)�poprr�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__rrr
rrsrc@seZdZdZdS)rzAn HTTP error occurred.N�rrrrrrrrrsrc@seZdZdZdS)�ConnectionErrorzA Connection error occurred.Nrrrrrr src@seZdZdZdS)�
ProxyErrorzA proxy error occurred.Nrrrrrr$src@seZdZdZdS)�SSLErrorzAn SSL error occurred.Nrrrrrr(src@seZdZdZdS)�Timeoutz�The request timed out.

    Catching this error will catch both
    :exc:`~requests.exceptions.ConnectTimeout` and
    :exc:`~requests.exceptions.ReadTimeout` errors.
    Nrrrrrr,src@seZdZdZdS)�ConnectTimeoutz�The request timed out while trying to connect to the remote server.

    Requests that produced this error are safe to retry.
    Nrrrrrr5src@seZdZdZdS)�ReadTimeoutz@The server did not send any data in the allotted amount of time.Nrrrrrr<src@seZdZdZdS)�URLRequiredz*A valid URL is required to make a request.Nrrrrrr@src@seZdZdZdS)�TooManyRedirectszToo many redirects.NrrrrrrDsrc@seZdZdZdS)�
MissingSchemaz/The URL schema (e.g. http or https) is missing.NrrrrrrHsrc@seZdZdZdS)�
InvalidSchemaz"See defaults.py for valid schemas.Nrrrrrr Lsr c@seZdZdZdS)�
InvalidURLz%The URL provided was somehow invalid.Nrrrrrr!Psr!c@seZdZdZdS)�
InvalidHeaderz.The header value provided was somehow invalid.Nrrrrrr"Tsr"c@seZdZdZdS)�InvalidProxyURLz"The proxy URL provided is invalid.Nrrrrrr#Xsr#c@seZdZdZdS)�ChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.Nrrrrrr$\sr$c@seZdZdZdS)�ContentDecodingErrorz!Failed to decode response contentNrrrrrr%`sr%c@seZdZdZdS)�StreamConsumedErrorz2The content for this response was already consumedNrrrrrr&dsr&c@seZdZdZdS)�
RetryErrorzCustom retries logic failedNrrrrrr'hsr'c@seZdZdZdS)�UnrewindableBodyErrorz:Requests encountered an error when trying to rewind a bodyNrrrrrr(lsr(c@seZdZdZdS)�RequestsWarningzBase warning for Requests.Nrrrrrr)rsr)c@seZdZdZdS)�FileModeWarningzJA file was opened in text mode, but Requests determined its binary length.Nrrrrrr*wsr*c@seZdZdZdS)�RequestsDependencyWarningz@An imported dependency doesn't match the expected version range.Nrrrrrr+|sr+N)rZurllib3.exceptionsrZ
BaseHTTPError�IOErrorrrrrrrrrr�
ValueErrorrr r!r"r#r$r%�	TypeErrorr&r'r(�Warningr)�DeprecationWarningr*r+rrrr�<module>s0	

Zerion Mini Shell 1.0