§
    ïXÊj5  ã                   óv   —  G d „ de ¦  «        Z G d„ de ¦  «        Z G d„ de ¦  «        Z G d„ de ¦  «        ZdS )	c                   ó   — e Zd ZdZdS )ÚSerializationSetupErrorz5Raised when a serializers cannot be set up correctly.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úIC:\Projects\Historical\venv\Lib\site-packages\gradio_client/exceptions.pyr   r      s   € € € € € Ø?Ð?à€Dr
   r   c                   ó   — e Zd ZdZdS )ÚAuthenticationErrorznRaised when the client is unable to authenticate itself to a Gradio app due to invalid or missing credentials.Nr   r	   r
   r   r   r      s   € € € € € ØxÐxà€Dr
   r   c                   ó   — e Zd ZdZdS )ÚValidationErrorz[Raised when the data that is passed into the Gradio app fails developer-defined validation.Nr   r	   r
   r   r   r      s   € € € € € ØeÐeà€Dr
   r   c                   óJ   ‡ — e Zd ZdZ	 	 	 	 	 ddededz  d	ed
edef
ˆ fd„Zˆ xZS )ÚAppErrorzaRaised when the upstream Gradio app throws an error because of the value submitted by the client.úError raised.é
   TÚErrorÚmessageÚdurationNÚvisibleÚtitleÚprint_exceptionc                 óš   •— || _         || _        || _        || _        || _        t          ¦   «                              | j        ¦  «         dS )a?  
        Parameters:
            message: The error message to be displayed to the user. Can be HTML, which will be rendered in the modal.
            duration: The duration in seconds to display the error message. If None or 0, the error message will be displayed until the user closes it.
            visible: Whether the error message should be displayed in the UI.
            title: The title to be displayed to the user at the top of the error modal.
            print_exception: Whether to print traceback of the error to the console when the error is raised.
        N)r   r   r   r   r   ÚsuperÚ__init__)Úselfr   r   r   r   r   Ú	__class__s         €r   r   zAppError.__init__   sI   ø€ ð  ˆŒ
ØˆŒØ ˆŒØˆŒØ.ˆÔÝ‰Œ×Ò˜œÑ&Ô&Ð&Ð&Ð&r
   )r   r   Tr   T)	r   r   r   r   ÚstrÚfloatÚboolr   Ú__classcell__)r   s   @r   r   r      s�   ø€ € € € € ØkÐkð 'Ø!#ØØØ $ð'ð 'àð'ð ˜$‘,ð'ð ð	'ð
 ð'ð ð'ð 'ð 'ð 'ð 'ð 'ð 'ð 'ð 'ð 'r
   r   N)Ú
ValueErrorr   r   r   r   r	   r
   r   ú<module>r$      s·   ðð	ð 	ð 	ð 	ð 	˜jñ 	ô 	ð 	ð	ð 	ð 	ð 	ð 	˜*ñ 	ô 	ð 	ð	ð 	ð 	ð 	ð 	�jñ 	ô 	ð 	ð'ð 'ð 'ð 'ð 'ˆzñ 'ô 'ð 'ð 'ð 'r
   