Skip to content

πŸ–‹οΈ Scribe: Update exception module references#765

Draft
fderuiter wants to merge 3 commits intomainfrom
scribe-fix-exception-docs-1473977327017387004
Draft

πŸ–‹οΈ Scribe: Update exception module references#765
fderuiter wants to merge 3 commits intomainfrom
scribe-fix-exception-docs-1473977327017387004

Conversation

@fderuiter
Copy link
Copy Markdown
Owner

πŸ’‘ What: Replaced outdated references to imednet.core.exceptions with imednet.errors across all .rst documentation files, updated the Sphinx Makefile target to correctly source src/imednet/errors, and fixed examples/custom_retry.py to import from the new module location.

🎯 Why: The codebase underwent an architectural refactor that centralized the exception hierarchy into src/imednet/errors. However, the documentation and example scripts were not updated, leading to ModuleNotFoundErrors for developers following the guides or trying to build the docs locally.

🧠 Cognitive Impact: Fixes broken onboarding paths and prevents immediate "first-run crashes." Developers copying the retry policies or offline validation examples from the documentation will no longer be hit by confusing import errors out-of-the-box.

πŸ“– Preview:

# Before
from imednet.core.exceptions import RateLimitError, ServerError

# After
from imednet.errors import RateLimitError, ServerError

PR created automatically by Jules for task 1473977327017387004 started by @fderuiter

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

πŸ‘‹ Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a πŸ‘€ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

fderuiter and others added 2 commits April 3, 2026 20:51
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.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.

1 participant