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
This commit is contained in:
parent
2579071b98
commit
9c65abd746
4 changed files with 54 additions and 17 deletions
3
spec/fixtures/module/exception.js
vendored
Normal file
3
spec/fixtures/module/exception.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
module.exports = function (error) {
|
||||
throw error
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue