scylladb / scylladb/python-rs-driver
Refactor Error Handling
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6
- Forks
- 7
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 9
Description
This issue focuses on splitting the large global errors file into smaller, separate files. All newly created files will remain within the same error module to improve code readability and maintainability without breaking the module structure.
Instead of having custom format! in From impl, it should be better to have Display (or even Error) impl on the error type itself.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the large global errors file and reviewing its From implementations and the surrounding error module. Split the error definitions into smaller files within the same module, move formatting or error behavior onto the error types, and verify that the module structure and existing behavior remain intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100