safe-global / safe-wallet-web

Safe{Wallet} – multisig EVM wallet
https://app.safe.global
GNU General Public License v3.0
356 stars 427 forks source link

Add user-friendly error messages instead or in addition to the GS0XX #3424

Open liliya-soroka opened 8 months ago

liliya-soroka commented 8 months ago

Bug description

Add user-friendly error messages instead or in addition to the GS0XX

Environment

Steps to reproduce

  1. Try any tx that will fail because of one of the GS0XX ( https://github.com/safe-global/safe-smart-account/blob/main/docs/error_codes.md)

Current result: The user sees GS013 without any explanation

Expected result

Could we add the user-friendly errors instead of only code GS0XX?

Obtained result

Screenshots

image
TanyaEfremova commented 7 months ago

Here is the suggestion for a general error message display. It includes: