Files
intellecton/venv/lib/python3.12/site-packages/urllib3/__pycache__/exceptions.cpython-312.pyc
T

60 lines
16 KiB
Plaintext
Raw Normal View History

Ë
JÀjÙ&ãó—ddlmZddlZddlZddlZddlmZddlmZ ejrddl m Z ddl
mZddlmZdd lmZGd
„d e«ZGd „d
e«Zeej0defeedffZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«Z e Z!Gd„de«Z"Gd„de«Z#Gd„d e«Z$Gd!„d"e«Z%Gd#„d$e%e«Z&Gd%„d&e%«Z'Gd'„d(e'e«Z(Gd)„d*e(«Z)Gd+„d,e«Z*Gd-„d.e«Z+Gd/„d0e«Z,Gd1„d2e-e«Z.Gd3„d4e.«Z/Gd5„d6e.«Z0Gd7„d8e«Z1Gd9„d:e«Z2Gd;„d<e2«Z3Gd=„d>e2«Z4Gd?„d@e2«Z5GdA„dBe2«Z6GdC„dDe«Z7GdE„dFe e-«Z8GdG„dHe«Z9GdI„dJee «ZGdK„dLee «Z:GdM„dNe«Z;GdO„dPe<e0«Z=GdQ„dRe-«Z>GdS„dTe«Z?GdU„dVe«Z@y)Wé)Ú annotationsN)Ú
MessageDefect)ÚIncompleteReadé)ÚHTTPConnection)ÚConnectionPool)Ú HTTPResponse)ÚRetrycó—eZdZdZy)Ú HTTPErrorz#Base exception used by this module.N©Ú__name__Ú
__module__Ú __qualname__Ú__doc__©óúU/home/antigravity/intellecton/venv/lib/python3.12/site-packages/urllib3/exceptions.pyr r s„Ú-rr có—eZdZdZy)Ú HTTPWarningz!Base warning used by this module.Nr
rrrrrs„Ú+rr.có,‡—eZdZdZdˆfd„ Zdd„ZˆxZS)Ú PoolErrorz/Base exception for errors caused within a pool.cóJ•—||_||_t‰|�
|›d|›�«y©Nz: )ÚpoolÚ_messageÚsuperÚ__init__)ÚselfrÚmessageÚ __class__s €rrzPoolError.__init__ ó)ø€ØˆŒ ؈Œ
Ü
‰Ñ˜D˜6  G 9Ð-Õ.rcó6—|jd|jffS©N©r!r©rs rÚ
__reduce__zPoolError.__reduce__%ó€à�~‰~  d§m¡mÐ4Ð4Ð4r)rrr ÚstrÚreturnÚNone©r*Ú_TYPE_REDUCE_RESULT©rrrrrr'Ú
__classcell__©r!s@rrrsø„Ù9õ/÷
5rrcó,‡—eZdZdZdˆfd„ Zdd„ZˆxZS)Ú RequestErrorz8Base exception for PoolErrors that have associated URLs.có4•—||_t‰|� ||«yr$)Úurlrr)rrr4r r!s €rrzRequestError.__init__-sø€ØˆŒÜ
‰Ñ˜˜wÕ'rcóL—|jd|j|jffSr$)r!r4rr&s rr'zRequestError.__reduce__1s €à�~‰~  d§h¡h°·
±
Ð>Ð>Ð>r)rrr4ú
str | Noner r)r*r+r,r.r0s@rr2r2*sø„ÙBõ(÷?rr2có—eZdZdZy)ÚSSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nr
rrrr8r86ó„ÚCrr8có0‡—eZdZUdZded<dˆfd„ ZˆxZS)Ú
ProxyErrorz,Raised when the connection to a proxy fails.Ú ExceptionÚoriginal_errorcó4•—t‰|�||«||_yr$)rrr=)rr Úerrorr!s €rrzProxyError.__init__@sø€Ü
‰Ñ˜ %Ô(Ø#ˆÕr)r r)r?r<r*r+)rrrrÚ__annotations__rr/r0s@rr;r;:sø…Ù6ðÓ÷$ñ$rr;có—eZdZdZy)Ú DecodeErrorz;Raised when automatic decoding based on Content-Type fails.Nr
rrrrBrBEó„ÚErrBcó—eZdZdZy)Ú
ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nr
rrrrErEIs„ÚHrrEcó>‡—eZdZdZ d dˆfd„
Zdd„ZˆxZS)Ú
MaxRetryErroraRaised when the maximum number of retries is exceeded.
:param pool: The connection pool
:type pool: :class:`~urllib3.connectionpool.HTTPConnectionPool`
:param str url: The requested Url
:param reason: The underlying error
:type reason: :class:`Exception`
cóH•—||_d|›d|›d�}t‰|� |||«y)NzMax retries exceeded with url: z (Caused by ú))Úreasonrr)rrr4rJr r!s €rrzMaxRetryError.__init___s1ø€ðˆŒ à3°C°5¸ ÀVÀJÈaÐPˆä
‰Ñ˜˜s GÕ,rcóL—|jd|j|jffSr$)r!r4rJr&s rr'zMaxRetryError.__reduce__hs €à�~‰~  d§h¡h°· ± Ð<Ð<Ð<rr$)rrr4r6rJzException | Noner*r+r,r.r0s@rrGrGTs9ø„ñðQUð-Ø"ð-Ø)3ð-Ø=Mð-à
õ-÷=rrGcó6‡—eZdZdZ d dˆfd„
ZˆxZS)ÚHostChangedErrorz?Raised when an existing pool gets a request for a foreign host.có@•—d|›�}t‰|�|||«||_y)Nz'Tried to open a foreign host with url: )rrÚretries)rrr4rOr r!s €rrzHostChangedError.__init__ps)ø€ð<¸C¸5ÐAˆÜ
‰Ñ˜˜s GÔ,؈� r)é)rrr4r)rOz Retry | intr*r+©rrrrrr/r0s@rrMrMms7ø„ÙIðFGðØ"ðØ),ðØ7Bðà
÷ñrrMcó—eZdZdZy)ÚTimeoutStateErrorz1Raised when passing an invalid state to a timeoutNr
rrrrSrSxs„Ú;rrScó—eZdZdZy)Ú TimeoutErrorz¿Raised when a socket timeout error occurs.
Catching this error will catch both :exc:`ReadTimeoutErrors
<ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
Nr
rrrrUrU|s„òrrUcó—eZdZdZy)ÚReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNr
rrrrWrW„s„ÚPrrWcó—eZdZdZy)ÚConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNr
rrrrYrYŠs„ÚJrrYcó>‡—eZdZdZdˆfd„ Zdd„Zedd„«ZˆxZS)ÚNewConnectionErrorzHRaised when we fail to establish a new connection. Usually ECONNREFUSED.cóJ•—||_||_t‰|�
|›d|›�«yr)Úconnrrr)rr]r r!s €rrzNewConnectionError.__init__‘r"rcó6—|jd|jffSr$r%r&s rr'zNewConnectionError.__reduce__–r(rcóR—tjdtd¬«|jS)NzZThe 'pool' property is deprecated and will be removed in urllib3 v3.0. Use 'conn' instead.é)Ú
stacklevel)ÚwarningsÚwarnÚ
FutureWarningr]r&s rrzNewConnectionError.poolšs%€ä�
‰
ð
3ä Øõ 
ð�y‰yÐr)r]rr r)r*r+r,)r*r) rrrrrr'Úpropertyrr/r0s@rr[r[Žs$ø„ÙRõ/ó
5ðòóôrr[có,‡—eZdZdZdˆfd„ Zdd„ZˆxZS)ÚNameResolutionErrorz'Raised when host name resolution fails.cóT•—d|›d|›d�}||_||_t‰|�
||«y)NzFailed to resolve 'z' (rI)Ú_hostÚ_reasonrr)rÚhostr]rJr r!s €rrzNameResolutionError.__init__©s4ø€Ø'¨ v¨S°°¸Ð:ˆØˆŒ
؈Œ Ü
‰Ñ˜˜wÕ'rcóL—|j|jd|jffSr$)r!rirjr&s rr'zNameResolutionError.__reduce__¯s €à�~‰~ §
¡
¨D°$·,±,Ð?Ð?Ð?r)rkr)r]rrJzsocket.gaierrorr,r.r0s@rrgrg¦sø„Ù1õ(÷ @rrgcó—eZdZdZy)ÚEmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nr