cavemanloverboy / cavemanloverboy/sol

Graceful Errors

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Rust
Stars
57
Forks
16
PR merge metrics
No merged PRs in 30d

Description

There are a few `TODO`s in the code that are essentially unwrapping `Option::None`. Would be great to either get detailed errors on any fields RPC didn't send (rare case), some sensible default value, or omission of these null fields. I think the first option is probably best.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the TODOs that unwrap Option::None and trace how RPC responses are converted into the command-line explorer's fields. Review the existing error-handling conventions and determine whether missing fields should produce detailed errors, use defaults, or be omitted; done means every identified None case is handled without an unintended panic.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.