diem / diem/move

[Feature Request] Make `AccountAddressParseError` more descriptive

Open
#62 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
378
Forks
137
PR merge metrics
No merged PRs in 30d

Description

Currently when we fail to parse `AccountAddress`, the error is simply `AccountAddressParseError` without an error message. It would be very helpful to add an `error` field to this error and provide the reasons for parsing failure.

Contributor guide

Open the contributing guide

Research direction

Start by locating the AccountAddress and AccountAddressParseError definitions and tracing the AccountAddress parsing entry point and its failure paths. Confirm how each parsing failure is represented; done means the error carries an error message describing the parsing reason.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.