frontend-monorepo
frontend-monorepo copied to clipboard
Error handling: Wallet API version mismatch
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.