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
@@ -259,24 +287,51 @@ All exceptions subclass [`LinearError`][linear_python_client.LinearError]:
259
287
260
288
| Exception | Raised when |
261
289
|-----------|-------------|
262
-
|[`LinearAuthenticationError`][linear_python_client.LinearAuthenticationError]| Credentials are rejected (HTTP 401/403 or an auth error code) |
263
-
|[`LinearRateLimitError`][linear_python_client.LinearRateLimitError]| A rate limit is hit (`RATELIMITED`); carries the`X-RateLimit-*` header values |
290
+
|[`LinearAuthenticationError`][linear_python_client.LinearAuthenticationError]| Credentials are rejected (HTTP 401/403, or `AUTHENTICATION_ERROR` / `UNAUTHENTICATED` / `FORBIDDEN` error code) |
291
+
|[`LinearRateLimitError`][linear_python_client.LinearRateLimitError]| A rate limit is hit (`RATELIMITED`); carries all`X-RateLimit-*` header values including endpoint-level limits|
264
292
|[`LinearGraphQLError`][linear_python_client.LinearGraphQLError]| The API returns GraphQL `errors`; exposes `.errors` and `.code`|
265
-
|[`LinearNetworkError`][linear_python_client.LinearNetworkError]| The request never produced a usable response |
293
+
|[`LinearNetworkError`][linear_python_client.LinearNetworkError]| The request never produced a usable response (connection error, non-JSON body) |
294
+
|[`LinearServerError`][linear_python_client.LinearServerError]| Linear returned an HTTP 5xx response; exposes `.status_code` and `.body_preview`|
295
+
296
+
Error messages include the error code, Linear's `userPresentableMessage` when
297
+
available, and any field-level validation details from `extensions.errors`.
266
298
267
299
```python
268
-
from linear_python_client import LinearClient, LinearRateLimitError, IssuesRequest
0 commit comments