Repository URL to install this package:
|
Version:
2.0.0-beta3-2-armbian20.08.0-trunk1 ▾
|
wiperf
/
usr
/
local
/
lib
/
python3.7
/
dist-packages
/
urllib3
/
__pycache__
/
exceptions.cpython-37.pyc
|
|---|
B
²8Y
µ¨ ã @ s\ d dl mZ ddlmZ G dd deZG dd deZG dd d eZ G d
d de Z
G dd
d
eZG dd deZG dd deZ
G dd deZeZG dd de
ZG dd de
ZG dd deZG dd deZG dd dee
ZG dd deZG d d! d!ee ZG d"d# d#e ZG d$d% d%e ZG d&d' d'eeZG d(d) d)eZG d*d+ d+eZG d,d- d-eZG d.d/ d/eZG d0d1 d1eZG d2d3 d3eZ G d4d5 d5eZ!G d6d7 d7eZ"G d8d9 d9eZ#G d:d; d;eZ$G d<d= d=eeZ%G d>d? d?eZ&G d@dA dAeeZG dBdC dCeZ'G dDdE dEe(eZ)G dFdG dGeZ*G dHdI dIeZ+dJS )Ké )Úabsolute_importé )ÚIncompleteReadc @ s e Zd ZdZdS )Ú HTTPErrorz#Base exception used by this module.N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r
r
ú7/tmp/pip-install-z4i6eiy2/urllib3/urllib3/exceptions.pyr s r c @ s e Zd ZdZdS )ÚHTTPWarningz!Base warning used by this module.N)r r r r r
r
r
r r s r c @ s e Zd ZdZdd Zdd ZdS )Ú PoolErrorz/Base exception for errors caused within a pool.c C s || _ t | d||f ¡ d S )Nz%s: %s)Úpoolr Ú__init__)Úselfr Úmessager
r
r r s zPoolError.__init__c C s
| j dfS )N)NN)Ú __class__)r r
r
r Ú
__reduce__ s zPoolError.__reduce__N)r r r r r r r
r
r
r r
s r
c @ s e Zd ZdZdd Zdd ZdS )ÚRequestErrorz8Base exception for PoolErrors that have associated URLs.c C s || _ t | ||¡ d S )N)Úurlr
r )r r r r r
r
r r s zRequestError.__init__c C s | j d | jd ffS )N)r r )r r
r
r r $ s zRequestError.__reduce__N)r r r r r r r
r
r
r r s r c @ s e Zd ZdZdS )ÚSSLErrorz9Raised when SSL certificate fails in an HTTPS connection.N)r r r r r
r
r
r r ) s r c s e Zd ZdZ fddZ ZS )Ú
ProxyErrorz,Raised when the connection to a proxy fails.c s" t t| j||f| || _d S )N)Úsuperr r Úoriginal_error)r r ÚerrorÚargs)r r
r r 1 s zProxyError.__init__)r r r r r Ú
__classcell__r
r
)r r r . s r c @ s e Zd ZdZdS )ÚDecodeErrorz;Raised when automatic decoding based on Content-Type fails.N)r r r r r
r
r
r r 6 s r c @ s e Zd ZdZdS )Ú
ProtocolErrorz>Raised when something unexpected happens mid-request/response.N)r r r r r
r
r
r r ; s r c @ s e Zd ZdZdddZdS )Ú
MaxRetryErrora Raised when the maximum number of retries is exceeded.
:param pool: The connection pool
:type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool`
:param string url: The requested Url
:param exceptions.Exception reason: The underlying error
Nc C s&