wallet
wallet copied to clipboard
fix: support liquality errors
This PR updates does the following
- Backward compatibility for errors: Some Errors returned from wallet core are
instances of
Liquality Error(extension of Js Error), others areinstances of
Js Error. So background.js, replyPermission.js and Timeline.Vue were updated so that if error returned from wallet-core is a liquality error, the translator instance is used to translate it, but if Js error is returned, status quo is maintained. - Replaced Some custom errors with standard liquality errors.
- Load Error translations into i18n instance