Currently, errors are displayed differently based on the wallet. They might be unhelpful in some case, or too verbose in other case. We should rely on `error.code` instead (common to all wallets) and based on that return a custom text to the users.
Currently, errors are displayed differently based on the wallet. They might be unhelpful in some case, or too verbose in other case.
We should rely on
error.codeinstead (common to all wallets) and based on that return a custom text to the users.