← back to Atmos Game

assets/gen/.venv/lib/python3.12/site-packages/gradio_client/__pycache__/exceptions.cpython-312.pyc

26 lines

�

c�bj5��\�Gd�de�ZGd�de�ZGd�de�ZGd�de�Zy)	c��eZdZdZy)�SerializationSetupErrorz5Raised when a serializers cannot be set up correctly.N��__name__�
__module__�__qualname__�__doc__���o/Users/macstudio3/Projects/atmos-game/assets/gen/.venv/lib/python3.12/site-packages/gradio_client/exceptions.pyrrs��?�r
rc��eZdZdZy)�AuthenticationErrorznRaised when the client is unable to authenticate itself to a Gradio app due to invalid or missing credentials.Nrr	r
rr
r
s��x�r
r
c��eZdZdZy)�ValidationErrorz[Raised when the data that is passed into the Gradio app fails developer-defined validation.Nrr	r
rrr
s��e�r
rc�J��eZdZdZ					d	dededzdededef
�fd�
Z�xZS)
�AppErrorzaRaised when the upstream Gradio app throws an error because of the value submitted by the client.�message�durationN�visible�title�print_exceptionc�~��||_||_||_||_||_t
�|�|j�y)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)rrrrr�super�__init__)�selfrrrrr�	__class__s      �rrzAppError.__init__s:��� ��
���� ��
����.���
������&r
)z
Error raised.�
T�ErrorT)	rrrr�str�float�boolr�
__classcell__)rs@rrrsU���k�'�!#��� $�
'��'��$�,�'��	'�
�'��
'�'r
rN)�
ValueErrorrr
rrr	r
r�<module>r#s5��	�j�	�	�*�	�	�j�	�'�z�'r