wallet icon indicating copy to clipboard operation
wallet copied to clipboard

fix: support liquality errors

Open koderholic opened this issue 1 year ago • 0 comments

This PR updates does the following

  1. Backward compatibility for errors: Some Errors returned from wallet core are instances of Liquality Error(extension of Js Error), others are instances 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.
  2. Replaced Some custom errors with standard liquality errors.
  3. Load Error translations into i18n instance

koderholic avatar Oct 17 '22 11:10 koderholic