%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core/17212/usr/lib/python3/dist-packages/requests/__pycache__/
Upload File :
Create Path :
Current File : //snap/core/17212/usr/lib/python3/dist-packages/requests/__pycache__/exceptions.cpython-35.pyc



~�V�
�@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�de�ZGdd �d ee�ZGd!d"�d"ee�ZGd#d$�d$e�ZGd%d&�d&e�ZGd'd(�d(ee�Zd)S)*za
requests.exceptions
~~~~~~~~~~~~~~~~~~~

This module contains the set of Requests' exceptions.

�)�	HTTPErrorcs(eZdZdZ�fdd�Z�S)�RequestExceptionzOThere was an ambiguous exception that occurred while handling your
    request.cs�|jdd�}||_|jdd�|_|dk	rd|jrdt|d�rd|jj|_tt|�j||�dS)zT
        Initialize 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	rr)r
rr
src@seZdZdZdS)rzAn HTTP error occurred.N)rrrrrrrrrsrc@seZdZdZdS)�ConnectionErrorzA Connection error occurred.N)rrrrrrrrr"src@seZdZdZdS)�
ProxyErrorzA proxy error occurred.N)rrrrrrrrr&src@seZdZdZdS)�SSLErrorzAn SSL error occurred.N)rrrrrrrrr*src@seZdZdZdS)�Timeoutz�The request timed out.

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

    Requests that produced this error are safe to retry.
    N)rrrrrrrrr7src@seZdZdZdS)�ReadTimeoutz@The server did not send any data in the allotted amount of time.N)rrrrrrrrr>src@seZdZdZdS)�URLRequiredz*A valid URL is required to make a request.N)rrrrrrrrrBsrc@seZdZdZdS)�TooManyRedirectszToo many redirects.N)rrrrrrrrrFsrc@seZdZdZdS)�
MissingSchemaz/The URL schema (e.g. http or https) is missing.N)rrrrrrrrrJsrc@seZdZdZdS)�
InvalidSchemaz"See defaults.py for valid schemas.N)rrrrrrrrrNsrc@seZdZdZdS)�
InvalidURLz' The URL provided was somehow invalid. N)rrrrrrrrrRsrc@seZdZdZdS)�ChunkedEncodingErrorz?The server declared chunked encoding but sent an invalid chunk.N)rrrrrrrrrVsrc@seZdZdZdS)�ContentDecodingErrorz!Failed to decode response contentN)rrrrrrrrr Zsr c@seZdZdZdS)�StreamConsumedErrorz2The content for this response was already consumedN)rrrrrrrrr!^sr!c@seZdZdZdS)�
RetryErrorzCustom retries logic failedN)rrrrrrrrr"bsr"c@seZdZdZdS)�RequestsWarningzBase warning for Requests.N)rrrrrrrrr#isr#c@seZdZdZdS)�FileModeWarningzT
    A file was opened in text mode, but Requests determined its binary length.
    N)rrrrrrrrr$nsr$N)rZpackages.urllib3.exceptionsrZ
BaseHTTPError�IOErrorrrrrrrrrr�
ValueErrorrrrrr �	TypeErrorr!r"�Warningr#�DeprecationWarningr$rrrr�<module>	s(	

Zerion Mini Shell 1.0