diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-01-15 02:51:36 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2018-01-17 02:42:52 +0800 |
commit | 27925c4086d52e3858cbfabf0e55f52c20bce8ac (patch) | |
tree | bff6b7f6510301ed8b70c38903a30e2a07e6a728 /tools/js2c.py | |
parent | eca73a2f82c8a52f37ad4c97b29d3cdecf32c93a (diff) | |
download | android-node-v8-27925c4086d52e3858cbfabf0e55f52c20bce8ac.tar.gz android-node-v8-27925c4086d52e3858cbfabf0e55f52c20bce8ac.tar.bz2 android-node-v8-27925c4086d52e3858cbfabf0e55f52c20bce8ac.zip |
doc: suggest not to throw JS errors from C++
Also provide an example on how to use internal/errors
to handle errors in C++.
PR-URL: https://github.com/nodejs/node/pull/18149
Refs: https://github.com/nodejs/node/issues/18106
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'tools/js2c.py')
0 files changed, 0 insertions, 0 deletions