frontend-monorepo icon indicating copy to clipboard operation
frontend-monorepo copied to clipboard

Error handling: Wallet API version mismatch

Open candida-d opened this issue 2 years ago • 0 comments

When the wallet and Console are on different API versions, or there are API issues, the errors are helpful to someone who understands the API but not for a user who is just trying to complete a task.

Without completely removing the API details, these errors could help users a bit more. I've hit 2, but I'm sure there are plenty of others.

How about keeping some of the API error messaging but adding something above like ... "The Vega Wallet software you are running doesn't support the JSON-RPC API. You can try to update the software you are using or choose a different compatible Vega wallet software."

This would be helpful for those situations where it's obviously the wrong wallet software version, or it needs API access it can't get because the wallet doesn't offer it. Screenshot 2022-12-07 at 12 40 27 Screenshot 2022-12-07 at 12 37 06

candida-d avatar Dec 07 '22 15:12 candida-d