+
    ^eòj’  ã                  ó  € ^ RI Ht ^ RIHtHt ^ RIHt ^ RIt^RIH	t	 ^RI
Ht . R/Ot ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R  R!]4      t ! R" R]4      t ! R# R]4      t ! R$ R]4      t ! R% R	]4      t ! R& R
]4      t ! R' R]4      t ! R( R]4      t ! R) R]4      t ! R* R]4      t ! R+ R]4      t ! R, R]4      t ! R- R]4      t  ! R. R]4      t!R# )0é    )Úannotations)ÚUnionÚcast)ÚLiteralN)Úis_dict)Ú	ErrorTypeÚBadRequestErrorÚAuthenticationErrorÚPermissionDeniedErrorÚNotFoundErrorÚConflictErrorÚUnprocessableEntityErrorÚRateLimitErrorÚInternalServerErrorÚRetryableErrorÚRequestTooLargeErrorÚServiceUnavailableErrorÚOverloadedErrorÚDeadlineExceededErrorc                  ó   € ] tR t^tRtR# )ÚAnthropicError© N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__static_attributes__r   ó    ÚŒ/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/anthropic/_exceptions.pyr   r      ó   † Ûr   r   c                  óP   a € ] tR t^"t$ R]R&   R]R&   R]R&    R V 3R lltR	tV ;t# )
ÚAPIErrorÚstrÚmessageúhttpx.RequestÚrequestúobject | NoneÚbodyc               ó(   € V ^8„  d   QhRRRRRRRR/# )	é   r%   r$   r'   r&   r)   r(   ÚreturnÚNoner   )Úformats   "r    Ú__annotate__ÚAPIError.__annotate__1   s)   € ÷ ñ  ð ¨mð Àmð ÐX\ñ r   c               	óJ   <€ \         SV `  V4       W n        Wn        W0n        R # )N)ÚsuperÚ__init__r'   r%   r)   )Úselfr%   r'   r)   Ú	__class__s   &&&$€r    r3   ÚAPIError.__init__1   s   ø€ Ü‰Ñ˜Ô!ØŒØŒØŽ	r   )r)   r%   r'   ©r   r   r   r   Ú__annotations__r3   r   Ú__classcell__©r5   s   @r    r#   r#   "   s#   ø‡ ØƒLØÓà
Óð÷ö r   r#   c                  óL   a € ] tR t^8t$ R]R&   R]R&   RR/R V 3R llltR	tV ;t# )
ÚAPIResponseValidationErrorúhttpx.ResponseÚresponseÚintÚstatus_coder%   Nc               ó(   € V ^8„  d   QhRRRRRRRR/# )	r+   r>   r=   r)   r(   r%   ú
str | Noner,   r-   r   )r.   s   "r    r/   Ú'APIResponseValidationError.__annotate__<   s*   € ÷ 0ñ 0 ð 0°}ð 0ÐR\ð 0Ðhlñ 0r   c               	ó‚   <€ \         ST `  T;'       g    R VP                  VR7       Wn        VP                  V n        R# )z1Data returned by API invalid for expected schema.©r)   N)r2   r3   r'   r>   r@   )r4   r>   r)   r%   r5   s   &&&$€r    r3   Ú#APIResponseValidationError.__init__<   s;   ø€ Ü‰Ñ˜×WÐWÐ$WÐYa×YiÑYiÐptÐÔuØ ŒØ#×/Ñ/ˆÖr   )r>   r@   r7   r:   s   @r    r<   r<   8   s&   ø‡ ØÓØÓð0Ð_c÷ 0÷ 0ð 0r   r<   c                  ó   € ] tR t^BtRtR# )ÚAPIWebhookValidationErrorr   Nr   r   r   r    rH   rH   B   r!   r   rH   c                  óf   a € ] tR t^Ft$ RtR]R&   R]R&   R]R&   R]R	&   R]R
&   R V 3R lltRtV ;t# )ÚAPIStatusErrorz<Raised when an API response has a status code of 4xx or 5xx.r=   r>   r?   r@   rB   Ú
request_idzErrorType | NoneÚtypeÚworkspace_idc               ó(   € V ^8„  d   QhRRRRRRRR/# )	r+   r%   r$   r>   r=   r)   r(   r,   r-   r   )r.   s   "r    r/   ÚAPIStatusError.__annotate__P   s/   € ÷ Lñ L ð L°.ð LÈð LÐZ^ñ Lr   c               	óÊ  <€ \         SV `  WP                  VR 7       W n        VP                  V n        VP
                  P                  R4      V n        VP
                  P                  R4      V n        RV n	        \        V4      '       dX   VP                  R4      p\        V4      '       d4   \        \        \        R3,          VP                  R4      4      V n	        R# R# R# )rE   z
request-idzanthropic-workspace-idNÚerrorrL   )r2   r3   r'   r>   r@   ÚheadersÚgetrK   rM   rL   r   r   r   r   )r4   r%   r>   r)   rQ   r5   s   &&$$ €r    r3   ÚAPIStatusError.__init__P   s±   ø€ Ü‰Ñ˜×"2Ñ"2¸ÐÔ>Ø ŒØ#×/Ñ/ˆÔØ"×*Ñ*×.Ñ.¨|Ó<ˆŒØ$×,Ñ,×0Ñ0Ð1IÓJˆÔàˆŒ	Ü�4�=Š=Ø—H‘H˜WÓ%ˆEÜ�u�~Š~Ü ¤¤y°$ Õ!7¸¿¹À6Ó9JÓK�–	ñ ñ r   )rK   r>   r@   rL   rM   )	r   r   r   r   Ú__doc__r8   r3   r   r9   r:   s   @r    rJ   rJ   F   s0   ø‡ ÙFàÓØÓØÓØ
ÓàÓ÷Lö Lr   rJ   c                  ó6   a € ] tR t^^tRR/R V 3R llltRtV ;t# )ÚAPIConnectionErrorr%   zConnection error.c               ó$   € V ^8„  d   QhRRRRRR/# )r+   r%   r$   r'   r&   r,   r-   r   )r.   s   "r    r/   ÚAPIConnectionError.__annotate___   s"   € ÷ 6ñ 6 3ð 6À}ð 6ÐY]ñ 6r   c               	ó*   <€ \         SV `  WR R7       R # )NrE   ©r2   r3   )r4   r%   r'   r5   s   &$$€r    r3   ÚAPIConnectionError.__init___   s   ø€ Ü‰Ñ˜°ÐÖ5r   r   ©r   r   r   r   r3   r   r9   r:   s   @r    rW   rW   ^   s   ø† ð6Ð)<÷ 6÷ 6ð 6r   rW   c                  ó.   a € ] tR t^ctR V 3R lltRtV ;t# )ÚAPITimeoutErrorc               ó    € V ^8„  d   QhRRRR/# )r+   r'   r&   r,   r-   r   )r.   s   "r    r/   ÚAPITimeoutError.__annotate__d   s   € ÷ 
ñ 
 ð 
°$ñ 
r   c                	ó*   <€ \         SV `  R VR7       R# )zÃRequest timed out or interrupted. This could be due to a network timeout, dropped connection, or request cancellation. See https://docs.anthropic.com/en/api/errors#long-requests for more details.)r%   r'   Nr[   )r4   r'   r5   s   &&€r    r3   ÚAPITimeoutError.__init__d   s   ø€ Ü‰Ñð ZØð 	ö 	
r   r   r]   r:   s   @r    r_   r_   c   s   ø† ÷
ö 
r   r_   c                  ó   € ] tR t^ktRtRtR# )r   z÷An error that opts into the SDK's retry policy: raise it (e.g. from
middleware) to have the request attempt retried.

The request is only retried while `max_retries` has not been exhausted;
once exhausted the error propagates to the caller as-is.
r   N)r   r   r   r   rU   r   r   r   r    r   r   k   s   † õr   c                  ó&   € ] tR t^tt$ RtR]R&   RtR# )r	   i�  zLiteral[400]r@   r   N©r   r   r   r   r@   r8   r   r   r   r    r	   r	   t   ó   ‡ Ø #€K�×#r   c                  ó&   € ] tR t^xt$ RtR]R&   RtR# )r
   i‘  zLiteral[401]r@   r   Nrf   r   r   r    r
   r
   x   rg   r   c                  ó&   € ] tR t^|t$ RtR]R&   RtR# )r   i“  zLiteral[403]r@   r   Nrf   r   r   r    r   r   |   rg   r   c                  ó&   € ] tR t^€t$ RtR]R&   RtR# )r   i”  zLiteral[404]r@   r   Nrf   r   r   r    r   r   €   rg   r   c                  ó&   € ] tR t^„t$ RtR]R&   RtR# )r   i™  zLiteral[409]r@   r   Nrf   r   r   r    r   r   „   rg   r   c                  ó&   € ] tR t^ˆt$ RtR]R&   RtR# )r   i�  zLiteral[413]r@   r   Nrf   r   r   r    r   r   ˆ   rg   r   c                  ó&   € ] tR t^Œt$ RtR]R&   RtR# )r   i¦  zLiteral[422]r@   r   Nrf   r   r   r    r   r   Œ   rg   r   c                  ó&   € ] tR t^�t$ RtR]R&   RtR# )r   i­  zLiteral[429]r@   r   Nrf   r   r   r    r   r   �   rg   r   c                  ó&   € ] tR t^”t$ RtR]R&   RtR# )r   i÷  zLiteral[503]r@   r   Nrf   r   r   r    r   r   ”   rg   r   c                  ó&   € ] tR t^˜t$ RtR]R&   RtR# )r   i  zLiteral[529]r@   r   Nrf   r   r   r    r   r   ˜   rg   r   c                  ó&   € ] tR t^œt$ RtR]R&   RtR# )r   iø  zLiteral[504]r@   r   Nrf   r   r   r    r   r   œ   rg   r   c                  ó   € ] tR t^ tRtR# )r   r   Nr   r   r   r    r   r       r!   r   )r	   r
   r   r   r   r   r   r   r   r   r   r   r   )"Ú
__future__r   Útypingr   r   Útyping_extensionsr   ÚhttpxÚ_utilsr   Útypes.shared.error_typer   Ú__all__Ú	Exceptionr   r#   r<   rH   rJ   rW   r_   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r    Ú<module>r{      s  ðõ #ç Ý %ã å Ý .ò€ô"	�Yô 	ôˆ~ô ô,0 ô 0ô	 ô 	ôL�Xô Lô06˜ô 6ô

Ð(ô 
ô�^ô ô$�nô $ô$˜.ô $ô$˜Nô $ô$�Nô $ô$�Nô $ô$˜>ô $ô$˜~ô $ô$�^ô $ô$˜nô $ô$�nô $ô$˜Nô $ô	˜.ö 	r   