gpgme/lang/js/src
Maximilian Krambach 93f674d33d js: throw errors in sync functions
--

* synchronous functions should throw errors if something goes wrong,
  Promises should reject. This commit changes some error cases that
  returned Error objects instead of throwing them

  - src/Key.js: createKey() and sync Key.get() throw errors
  - src/Error.js: Exporting the list of errors to be able to test and
    compare against these strings
  - src/Keyring.js: Setting a null value in pattern is not useful, and
    now caused an error with the new changes.
  - src/Message.js: createMessage and Message.setParameter now throw
    errors
2018-08-22 12:18:55 +02:00
..
Connection.js js: add and apply eslint rules 2018-08-20 15:12:01 +02:00
Errors.js js: throw errors in sync functions 2018-08-22 12:18:55 +02:00
gpgmejs.js js: throw errors in sync functions 2018-08-22 12:18:55 +02:00
Helpers.js js: add and apply eslint rules 2018-08-20 15:12:01 +02:00
index.js js: add and apply eslint rules 2018-08-20 15:12:01 +02:00
Key.js js: throw errors in sync functions 2018-08-22 12:18:55 +02:00
Keyring.js js: throw errors in sync functions 2018-08-22 12:18:55 +02:00
Makefile.am js: Fix library name mentioned in js Makefiles 2018-08-21 13:58:51 +02:00
Message.js js: throw errors in sync functions 2018-08-22 12:18:55 +02:00
permittedOperations.js js: update decrypt/verify results 2018-08-21 15:26:17 +02:00
Signature.js js: add and apply eslint rules 2018-08-20 15:12:01 +02:00