Make ssh2::Error an Enum for all Possible errors from libssh2
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 566
- Forks
- 163
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 2
Description
My use case for this is that I want to give my own useful error messages for the possible errors. Right now I have to look up what each error code means in the documentation of libssh2.
To me it seems a lot nicer to have an Enum so rust can help with covering all errors.
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 examining ssh2::Error and the libssh2 error-code documentation to identify the complete set of possible errors. Done means the errors are represented by a Rust enum so callers can match each case and provide their own messages without consulting libssh2 documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100