ó
    §ZÇhO!  ã                  óú  • S r SSKJr  SSKrSSKr\R
                  (       a  SSKJrJr  / SQr	 " S S\
5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\5      r " S# S$\5      r " S% S&\5      r " S' S(\5      r " S) S*\5      r " S+ S,\5      r " S- S.\5      r " S/ S0\5      r " S1 S2\
5      r  " S3 S4\
5      r! " S5 S6\"5      r# " S7 S8\#5      r$ " S9 S:\#5      r% " S; S<\#5      r& " S= S>\#5      r'\RP                   S@   SAS? jj5       r)g)Bul  
Our exception hierarchy:

* HTTPError
  x RequestError
    + TransportError
      - TimeoutException
        Â· ConnectTimeout
        Â· ReadTimeout
        Â· WriteTimeout
        Â· PoolTimeout
      - NetworkError
        Â· ConnectError
        Â· ReadError
        Â· WriteError
        Â· CloseError
      - ProtocolError
        Â· LocalProtocolError
        Â· RemoteProtocolError
      - ProxyError
      - UnsupportedProtocol
    + DecodingError
    + TooManyRedirects
  x HTTPStatusError
* InvalidURL
* CookieConflict
* StreamError
  x StreamConsumed
  x StreamClosed
  x ResponseNotRead
  x RequestNotRead
é    )ÚannotationsNé   )ÚRequestÚResponse)Ú
CloseErrorÚConnectErrorÚConnectTimeoutÚCookieConflictÚDecodingErrorÚ	HTTPErrorÚHTTPStatusErrorÚ
InvalidURLÚLocalProtocolErrorÚNetworkErrorÚPoolTimeoutÚProtocolErrorÚ
ProxyErrorÚ	ReadErrorÚReadTimeoutÚRemoteProtocolErrorÚRequestErrorÚRequestNotReadÚResponseNotReadÚStreamClosedÚStreamConsumedÚStreamErrorÚTimeoutExceptionÚTooManyRedirectsÚTransportErrorÚUnsupportedProtocolÚ
WriteErrorÚWriteTimeoutc                  ól   ^ • \ rS rSrSrSU 4S jjr\SS j5       r\R                  S	S j5       rSr	U =r
$ )
r   éJ   ab  
Base class for `RequestError` and `HTTPStatusError`.

Useful for `try...except` blocks when issuing a request,
and then calling `.raise_for_status()`.

For example:

```
try:
    response = httpx.get("https://www.example.com")
    response.raise_for_status()
except httpx.HTTPError as exc:
    print(f"HTTP Exception for {exc.request.url} - {exc}")
```
c                ó2   >• [         TU ]  U5        S U l        g ©N©ÚsuperÚ__init__Ú_request©ÚselfÚmessageÚ	__class__s     €ÚN/home/mande/repo/quber/.venv/lib/python3.13/site-packages/httpx/_exceptions.pyr)   ÚHTTPError.__init__\   s   ø€ Ü‰Ñ˜Ô!Ø(,ˆ�ó    c                óJ   • U R                   c  [        S5      eU R                   $ )Nz'The .request property has not been set.)r*   ÚRuntimeError)r,   s    r/   ÚrequestÚHTTPError.request`   s"   € à�=‰=Ñ ÜÐHÓIÐIØ�}‰}Ðr1   c                ó   • Xl         g r&   ©r*   )r,   r4   s     r/   r4   r5   f   s   € à�r1   r7   ©r-   ÚstrÚreturnÚNone)r:   r   )r4   r   r:   r;   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r)   Úpropertyr4   ÚsetterÚ__static_attributes__Ú__classcell__©r.   s   @r/   r   r   J   s9   ø† ñ÷"-ð óó ðð
 ‡^�^ó ó ö r1   r   c                  ó8   ^ • \ rS rSrSrSS.SU 4S jjjrSrU =r$ )r   ék   zK
Base class for all exceptions that may occur when issuing a `.request()`.
N)r4   c               ó0   >• [         TU ]  U5        X l        g r&   r'   )r,   r-   r4   r.   s      €r/   r)   ÚRequestError.__init__p   s   ø€ Ü‰Ñ˜Ô!ð  �r1   r7   )r-   r9   r4   úRequest | Noner:   r;   ©r<   r=   r>   r?   r@   r)   rC   rD   rE   s   @r/   r   r   k   s   ø† ñð CG÷  ÷  ð  r1   r   c                  ó   • \ rS rSrSrSrg)r   é{   zM
Base class for all exceptions that occur at the level of the Transport API.
© N©r<   r=   r>   r?   r@   rC   rN   r1   r/   r   r   {   ó   † ôr1   r   c                  ó   • \ rS rSrSrSrg)r   é„   zA
The base class for timeout errors.

An operation has timed out.
rN   NrO   rN   r1   r/   r   r   „   ó   † ôr1   r   c                  ó   • \ rS rSrSrSrg)r	   éŒ   z)
Timed out while connecting to the host.
rN   NrO   rN   r1   r/   r	   r	   Œ   rP   r1   r	   c                  ó   • \ rS rSrSrSrg)r   é’   z/
Timed out while receiving data from the host.
rN   NrO   rN   r1   r/   r   r   ’   rP   r1   r   c                  ó   • \ rS rSrSrSrg)r"   é˜   z+
Timed out while sending data to the host.
rN   NrO   rN   r1   r/   r"   r"   ˜   rP   r1   r"   c                  ó   • \ rS rSrSrSrg)r   éž   z:
Timed out waiting to acquire a connection from the pool.
rN   NrO   rN   r1   r/   r   r   ž   rP   r1   r   c                  ó   • \ rS rSrSrSrg)r   é§   zc
The base class for network-related errors.

An error occurred while interacting with the network.
rN   NrO   rN   r1   r/   r   r   §   rS   r1   r   c                  ó   • \ rS rSrSrSrg)r   é¯   z*
Failed to receive data from the network.
rN   NrO   rN   r1   r/   r   r   ¯   rP   r1   r   c                  ó   • \ rS rSrSrSrg)r!   éµ   z*
Failed to send data through the network.
rN   NrO   rN   r1   r/   r!   r!   µ   rP   r1   r!   c                  ó   • \ rS rSrSrSrg)r   é»   z#
Failed to establish a connection.
rN   NrO   rN   r1   r/   r   r   »   rP   r1   r   c                  ó   • \ rS rSrSrSrg)r   éÁ   z
Failed to close a connection.
rN   NrO   rN   r1   r/   r   r   Á   rP   r1   r   c                  ó   • \ rS rSrSrSrg)r   éÊ   z:
An error occurred while establishing a proxy connection.
rN   NrO   rN   r1   r/   r   r   Ê   rP   r1   r   c                  ó   • \ rS rSrSrSrg)r    éÐ   zt
Attempted to make a request to an unsupported protocol.

For example issuing a request to `ftp://www.example.com`.
rN   NrO   rN   r1   r/   r    r    Ð   rS   r1   r    c                  ó   • \ rS rSrSrSrg)r   éØ   z
The protocol was violated.
rN   NrO   rN   r1   r/   r   r   Ø   rP   r1   r   c                  ó   • \ rS rSrSrSrg)r   éÞ   zÒ
A protocol was violated by the client.

For example if the user instantiated a `Request` instance explicitly,
failed to include the mandatory `Host:` header, and then issued it directly
using `client.send()`.
rN   NrO   rN   r1   r/   r   r   Þ   s   † ôr1   r   c                  ó   • \ rS rSrSrSrg)r   éè   zR
The protocol was violated by the server.

For example, returning malformed HTTP.
rN   NrO   rN   r1   r/   r   r   è   rS   r1   r   c                  ó   • \ rS rSrSrSrg)r   éó   z?
Decoding of the response failed, due to a malformed encoding.
rN   NrO   rN   r1   r/   r   r   ó   rP   r1   r   c                  ó   • \ rS rSrSrSrg)r   éù   z
Too many redirects.
rN   NrO   rN   r1   r/   r   r   ù   rP   r1   r   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )r   i  zp
The response had an error HTTP status of 4xx or 5xx.

May be raised when calling `response.raise_for_status()`
c               ó<   >• [         TU ]  U5        X l        X0l        g r&   )r(   r)   r4   Úresponse)r,   r-   r4   rv   r.   s       €r/   r)   ÚHTTPStatusError.__init__	  s   ø€ Ü‰Ñ˜Ô!ØŒØ �r1   )r4   rv   )r-   r9   r4   r   rv   r   r:   r;   rK   rE   s   @r/   r   r     s   ø† ñ÷!õ !r1   r   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )r   i  z/
URL is improperly formed or cannot be parsed.
c                ó$   >• [         TU ]  U5        g r&   ©r(   r)   r+   s     €r/   r)   ÚInvalidURL.__init__  ó   ø€ Ü‰Ñ˜Õ!r1   rN   r8   rK   rE   s   @r/   r   r     s   ø† ñ÷"õ "r1   r   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )r
   i  zz
Attempted to lookup a cookie by name, but multiple cookies existed.

Can occur when calling `response.cookies.get(...)`.
c                ó$   >• [         TU ]  U5        g r&   rz   r+   s     €r/   r)   ÚCookieConflict.__init__  r|   r1   rN   r8   rK   rE   s   @r/   r
   r
     s   ø† ñ÷"õ "r1   r
   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )r   i)  zw
The base class for stream exceptions.

The developer made an error in accessing the request stream in
an invalid way.
c                ó$   >• [         TU ]  U5        g r&   rz   r+   s     €r/   r)   ÚStreamError.__init__1  r|   r1   rN   r8   rK   rE   s   @r/   r   r   )  s   ø† ñ÷"õ "r1   r   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )r   i5  zQ
Attempted to read or stream content, but the content has already
been streamed.
c                ó(   >• Sn[         TU ]  U5        g )Na]  Attempted to read or stream some content, but the content has already been streamed. For requests, this could be due to passing a generator as request content, and then receiving a redirect response or a secondary request as part of an authentication flow.For responses, this could be due to attempting to stream the response content more than once.rz   r+   s     €r/   r)   ÚStreamConsumed.__init__;  s   ø€ ð&ð 	ô 	‰Ñ˜Õ!r1   rN   ©r:   r;   rK   rE   s   @r/   r   r   5  s   ø† ñ÷
	"õ 	"r1   r   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )r   iG  zP
Attempted to read or stream response content, but the request has been
closed.
c                ó(   >• Sn[         TU ]  U5        g )NzDAttempted to read or stream content, but the stream has been closed.rz   r+   s     €r/   r)   ÚStreamClosed.__init__M  s   ø€ àUð 	ô 	‰Ñ˜Õ!r1   rN   r†   rK   rE   s   @r/   r   r   G  s   ø† ñ÷
"õ "r1   r   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )r   iT  zQ
Attempted to access streaming response content, without having called `read()`.
c                ó(   >• Sn[         TU ]  U5        g )NzOAttempted to access streaming response content, without having called `read()`.rz   r+   s     €r/   r)   ÚResponseNotRead.__init__Y  ó   ø€ ð/ð 	ô 	‰Ñ˜Õ!r1   rN   r†   rK   rE   s   @r/   r   r   T  ó   ø† ñ÷"õ "r1   r   c                  ó0   ^ • \ rS rSrSrSU 4S jjrSrU =r$ )r   ia  zP
Attempted to access streaming request content, without having called `read()`.
c                ó(   >• Sn[         TU ]  U5        g )NzNAttempted to access streaming request content, without having called `read()`.rz   r+   s     €r/   r)   ÚRequestNotRead.__init__f  r�   r1   rN   r†   rK   rE   s   @r/   r   r   a  rŽ   r1   r   c              #  óP   #   •  Sv •  g! [          a  nU b  Xl        UeSnAff = f7f)z‹
A context manager that can be used to attach the given request context
to any `RequestError` exceptions that are raised within the block.
N)r   r4   )r4   Úexcs     r/   Úrequest_contextr”   n  s,   é € ðÜøÜó ØÑØ!ŒKØˆ	ûðüs   ‚&„	 ˆ&‰
#“ž#£&r&   )r4   rJ   r:   ztyping.Iterator[None])*r@   Ú
__future__r   Ú
contextlibÚtypingÚTYPE_CHECKINGÚ_modelsr   r   Ú__all__Ú	Exceptionr   r   r   r   r	   r   r"   r   r   r   r!   r   r   r   r    r   r   r   r   r   r   r   r
   r3   r   r   r   r   r   Úcontextmanagerr”   rN   r1   r/   Ú<module>r�      s¬  ðñõB #ã Û à	××ß*ò€ô@ �	ô  ôB �9ô  ô �\ô ô�~ô ôÐ%ô ôÐ"ô ôÐ#ô ôÐ"ô ô�>ô ô�ô ô�ô ô�<ô ô�ô ô�ô ô˜.ô ô�Nô ô˜ô ô˜-ô ô�Lô ô�|ô ô
!�iô 
!ô"�ô "ô"�Yô "ô"	"�,ô 	"ô"�[ô "ô$
"�;ô 
"ô
"�kô 
"ô
"�[ô 
"ð ×Ñà"ðØðàôó ñr1   