You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 12, 2024. It is now read-only.
Exception raised when encountering invalid credentials or cookies.
4
+
5
+
This exception indicates that the provided credentials or cookies are invalid or insufficient for the operation.
6
+
7
+
"""
3
8
4
9
pass
5
10
6
11
7
12
classGeminiAPIError(Exception):
8
-
"""Unhandled server error."""
13
+
"""
14
+
Exception raised for unhandled errors from the Gemini server.
15
+
16
+
This exception indicates that an unexpected error occurred on the Gemini server side, which was not properly handled by the client.
17
+
18
+
"""
9
19
10
20
pass
11
21
12
22
13
23
classTimeoutError(GeminiAPIError):
14
-
"""Request timeout."""
24
+
"""
25
+
Exception raised when a request times out.
26
+
27
+
This exception is a subclass of GeminiAPIError and is raised when a request to the Gemini server exceeds the specified timeout period without receiving a response.
0 commit comments