Skip to content

docs: add APIConnectionError to README error handling example#132

Merged
dhruvbatra merged 1 commit into
mainfrom
claude/kind-keller-fn4q8n
Jun 11, 2026
Merged

docs: add APIConnectionError to README error handling example#132
dhruvbatra merged 1 commit into
mainfrom
claude/kind-keller-fn4q8n

Conversation

@dhruvbatra

@dhruvbatra dhruvbatra commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary\n\n- Add APIConnectionError to the README error handling example — this exception was added and exported in 0.8.0 (PR #131) but the README snippet only showed APIError and AuthenticationError\n\nDaily doc-drift fix.\n\n## Test plan\n\n- [x] Documentation-only change, no code affected\n- [x] Verified APIConnectionError is exported from yutori.__init__


Generated by Claude Code


Note

Low Risk
Documentation-only change to README; no runtime or API behavior is modified.

Overview
Updates the Error Handling README snippet so it matches the SDK’s exported exceptions after APIConnectionError was added in 0.8.0.

The import line now includes APIConnectionError, and the example adds a dedicated except APIConnectionError branch for connection failures, alongside the existing AuthenticationError and APIError handlers.

Reviewed by Cursor Bugbot for commit 5755d1b. Bugbot is set up for automated code reviews on this repo. Configure here.

The 0.8.0 release added APIConnectionError but the README error
handling snippet only showed APIError and AuthenticationError.

https://claude.ai/code/session_01BnBYSTKxmBKJhbykWW9PTF
@dhruvbatra dhruvbatra merged commit b317042 into main Jun 11, 2026
9 checks passed
@dhruvbatra dhruvbatra deleted the claude/kind-keller-fn4q8n branch June 11, 2026 05:14
dhruvbatra added a commit that referenced this pull request Jun 15, 2026
The README was updated in #132 but api.md was not. Add APIConnectionError to
the package layout table, exceptions table, import example, and error handling
example to match the actual public API.

https://claude.ai/code/session_017tT6zLgHsBWT8er2aBf4Bz

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants