MetaMask / MetaMask/metamask-extension

Error Message Improvements

Open
#4,870 3 comments 0 reactions 0 assignees View on GitHub
type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

- [ ] Collect known errors
- [ ] Replace string comparison checks with checks against well known errors
- [ ] start pushing on https://github.com/ethereum/EIPs/issues/136
- [ ] also see https://github.com/ethereum/wiki/wiki/JSON-RPC-Error-Codes-Improvement-Proposal
- [ ] bubble up the errors to the UI

following issues would be helped/would have been helped by these improvements:
https://github.com/MetaMask/metamask-extension/issues/3519
https://github.com/MetaMask/metamask-extension/issues/2898
https://github.com/MetaMask/metamask-extension/issues/3768

Contributor guide

Open the contributing guide

Research direction

Start by collecting the known errors listed in this issue and reviewing EIP-136 and the JSON-RPC Error Codes Improvement Proposal. Trace how errors currently reach the UI and define completion as standardized error handling, replacement of string comparisons, and error details being surfaced to users.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.