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

60 lines
16 KiB
Plaintext
Raw Normal View History

2025-06-23 17:55:02 -05:00
Ë
o»YhÒ&ãó—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__©óú[/mnt/c/fieldcraft/witness-fracture/.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)rrr4r)r r)r*r+r,r.r0s@rr2r2*sø„ÙBõ(÷?rr2có—eZdZdZy)ÚSSLErrorz9Raised when SSL certificate fails in an HTTPS connection.Nr
rrrr7r76ó„ÚCrr7có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
rrrrArAEó„ÚErrAcó—eZdZdZy)Ú
ProtocolErrorz>Raised when something unexpected happens mid-request/response.Nr
rrrrDrDIs„ÚHrrDcó>‡—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)rrr4rIr r!s €rrzMaxRetryError.__init___s1ø€ðˆŒ à3°C°5¸ ÀVÀJÈaÐPˆä
‰Ñ˜˜s GÕ,rcóL—|jd|j|jffSr$)r!r4rIr&s rr'zMaxRetryError.__reduce__hs €à�~‰~  d§h¡h°· ± Ð<Ð<Ð<rr$)rrr4r)rIzException | Noner*r+r,r.r0s@rrFrFTs9ø„ñðJNð-Ø"ð-Ø),ð-Ø6Fð-à
õ-÷=rrFcó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)rrr4rNr r!s €rrzHostChangedError.__init__ps)ø€ð<¸C¸5ÐAˆÜ
‰Ñ˜˜s GÔ,؈� r)é)rrr4r)rNz Retry | intr*r+©rrrrrr/r0s@rrLrLms7ø„ÙIðFGðØ"ðØ),ðØ7Bðà
÷ñrrLcó—eZdZdZy)ÚTimeoutStateErrorz1Raised when passing an invalid state to a timeoutNr
rrrrRrRxs„Ú;rrRcó—eZdZdZy)Ú TimeoutErrorz¿Raised when a socket timeout error occurs.
Catching this error will catch both :exc:`ReadTimeoutErrors
<ReadTimeoutError>` and :exc:`ConnectTimeoutErrors <ConnectTimeoutError>`.
Nr
rrrrTrT|s„òrrTcó—eZdZdZy)ÚReadTimeoutErrorzFRaised when a socket timeout occurs while receiving data from a serverNr
rrrrVrV„s„ÚPrrVcó—eZdZdZy)ÚConnectTimeoutErrorz@Raised when a socket timeout occurs while connecting to a serverNr
rrrrXrXŠs„ÚJrrXcó>‡—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)Nz\The 'pool' property is deprecated and will be removed in urllib3 v2.1.0. Use 'conn' instead.é)Ú
stacklevel)ÚwarningsÚwarnÚDeprecationWarningr\r&s rrzNewConnectionError.poolšs%€ä�
‰
ð
5ä Øõ 
ð�y‰yÐr)r\rr r)r*r+r,)r*r) rrrrrr'Úpropertyrr/r0s@rrZrZŽs$ø„ÙRõ/ó
5ðòóôrrZcó,‡—eZdZdZdˆfd„ Zdd„ZˆxZS)ÚNameResolutionErrorz'Raised when host name resolution fails.cóT•—d|›d|›d�}||_||_t‰|�
||«y)NzFailed to resolve 'z' (rH)Ú_hostÚ_reasonrr)rÚhostr\rIr r!s €rrzNameResolutionError.__init__©s4ø€Ø'¨ v¨S°°¸Ð:ˆØˆŒ
؈Œ Ü
‰Ñ˜˜wÕ'rcóL—|j|jd|jffSr$)r!rhrir&s rr'zNameResolutionError.__reduce__¯s €à�~‰~ §
¡
¨D°$·,±,Ð?Ð?Ð?r)rjr)r\rrIzsocket.gaierrorr,r.r0s@rrfrf¦sø„Ù1õ(÷ @rrfcó—eZdZdZy)ÚEmptyPoolErrorzCRaised when a pool runs out of connections and no more are allowed.Nr
rrrrmrm´ó„ÚMrrmcó—eZdZdZy)Ú
FullPoolErrorzGRaised when we try to add a connection to a full pool in blocking mode.Nr