
    h                     D    d dl mZ d dlZ G d de      Z G d de      Zy)    )UnionNc                   Z     e Zd ZdZdeej                  j                  ef   f fdZ	 xZ
S )UnauthorizedErrorzBException raised when the API returns a 401 Unauthorized response.orig_exceptionc                 D    || _         t        | 	  t        |             y Nr   super__init__strselfr   	__class__s     [/var/www/Befach/backend/env/lib/python3.12/site-packages/litellm/proxy/client/exceptions.pyr   zUnauthorizedError.__init__	       ,^,-    __name__
__module____qualname____doc__r   requests
exceptions	HTTPErrorr   r   __classcell__r   s   @r   r   r      s-    L.uX-@-@-J-JC-O'P . .r   r   c                   Z     e Zd ZdZdeej                  j                  ef   f fdZ	 xZ
S )NotFoundErrorzeException raised when the API returns a 404 Not Found response or indicates a resource was not found.r   c                 D    || _         t        | 	  t        |             y r   r	   r   s     r   r   zNotFoundError.__init__   r   r   r   r   s   @r   r   r      s-    o.uX-@-@-J-JC-O'P . .r   r   )typingr   r   	Exceptionr   r    r   r   <module>r#      s#     .	 ..I .r   