electron/spec/fixtures/module/exception.js
Tatsuya Hiroishi 9c65abd746 handle remote exception (#12694)
* add cause property to exception in callFunction

* update exceptionToMeta function

* add sender argument
* and cause property to return value

* update exception convert in metaToValue function

* add from and cause properties to the exception error

* unit test for remote exception
2018-04-24 08:40:19 -04:00

3 lines
52 B
JavaScript

module.exports = function (error) {
throw error
}