scylladb / scylladb/python-rs-driver

Refactor Error Handling

Open
#119 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.