mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-27 02:30:17 +08:00
a9e1a8ac56
* more specific exceptions * format * add changeset * fix * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
15 lines
427 B
Python
15 lines
427 B
Python
class SerializationSetupError(ValueError):
|
|
"""Raised when a serializers cannot be set up correctly."""
|
|
|
|
pass
|
|
|
|
|
|
class AuthenticationError(ValueError):
|
|
"""Raised when the client is unable to authenticate itself to a Gradio app due to invalid or missing credentials."""
|
|
|
|
pass
|
|
|
|
|
|
class AppError(ValueError):
|
|
"""Raised when the upstream Gradio app throws an error because of the value submitted by the client."""
|