-
-
Notifications
You must be signed in to change notification settings - Fork 86
feat(error): add ProxyConnectionError for proxy connection errors
#464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hello! You tagged me, but didn't specify a command. If you'd like me to perform a code review or provide a summary of this pull request, please use one of the following commands:
For a full list of commands and more information, you can always use |
|
/gemini review |
|
/gemini summary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a new ProxyConnectionError to handle errors related to proxy connections. The changes are well-contained, touching the Python exception definitions, the Rust error mapping, and adding a new test file. My review suggests two main improvements. First, for better API design and user experience, ProxyConnectionError should inherit from ConnectionError. Second, the new test can be made more robust and readable using pytest.mark.parametrize. An important point to address is that the new ProxyConnectionError is missing from the __all__ list in python/rnet/exceptions.py, which will prevent it from being correctly exported and imported via * imports.
Summary of ChangesThis pull request enhances the error handling capabilities by introducing a dedicated Highlights
Changelog
Activity
|
No description provided.