js: change in Error behaviour
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Wed, 25 Apr 2018 08:54:24 +0000 (10:54 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Wed, 25 Apr 2018 08:54:24 +0000 (10:54 +0200)
commitc72adc00965fe4fcedd9d18609211021a091b28b
treeaf1cc5df7da410f42f2762da9b03b5ca3d39087d
parent30c47d80a27054aa340cbd6dc39d1b8a5dc5cf22
js: change in Error behaviour

--

* Error objects will now return the error code if defined as error type
  in src/Errors.js, or do a console.log if it is a warning. Errors from
  the native gpgme-json will be marked as GNUPG_ERROR.
lang/js/src/Connection.js
lang/js/src/Errors.js
lang/js/src/Helpers.js
lang/js/src/Key.js
lang/js/src/Message.js
lang/js/src/gpgmejs.js
lang/js/src/gpgmejs_openpgpjs.js
lang/js/src/index.js