Repository URL to install this package:
|
Version:
2.0.0-beta3-2-armbian20.08.0-trunk1 ▾
|
wiperf
/
usr
/
local
/
lib
/
python3.7
/
dist-packages
/
requests
/
__pycache__
/
exceptions.cpython-37.pyc
|
|---|
B
%ÑMAv§Áã @ s d Z ddlmZ G dd deZG dd deZG dd deZG d d
d
eZG dd deZG d
d deZ G dd dee Z
G dd de ZG dd deZG dd deZ
G dd deeZG dd deeZG dd deeZG dd deeZG dd d eZG d!d" d"eZG d#d$ d$eeZG d%d& d&eeZG d'd( d(eZG d)d* d*eZG d+d, d,eZG d-d. d.eeZG d/d0 d0eZd1S )2z`
requests.exceptions
~~~~~~~~~~~~~~~~~~~
This module contains the set of Requests' exceptions.
é )Ú HTTPErrorc s e Zd ZdZ fddZ ZS )ÚRequestExceptionzTThere was an ambiguous exception that occurred while handling your
request.
c sX | dd¡}|| _| dd¡| _|dk rB| jsBt|drB| jj| _tt| j|| dS )zBInitialize RequestException with `request` and `response` objects.ÚresponseNÚrequest)Úpopr r ÚhasattrÚsuperr Ú__init__)ÚselfÚargsÚkwargsr )Ú __class__© ú9/tmp/pip-install-z4i6eiy2/requests/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.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 )ÚConnectTimeoutzThe 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 <