Improve error messages to provide solution to the issue
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Error messages shown on interface are not very descriptive and lot of users come seek support for fairly simple things (slippage increase for example).
Describe the solution you'd like
We noticed that some community forks improved errors messages so they suggest solution to problem
Additional context
Example of fork that significantly improved error messages can be found here: https://github.com/Circulation-2020/HiFiSwap-Main/blob/fe52abab7238d97c5f117a02a1b8c0d95ed6e13b/src/hooks/useSwapCallback.ts
Contributor guide
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 reading src/hooks/useSwapCallback.ts and comparing it with the referenced HiFiSwap-Main implementation. Trace how swap errors are surfaced in the interface and identify which messages need actionable suggestions, such as increasing slippage. Done means the relevant error messages clearly suggest solutions for common user problems.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100