summaryrefslogtreecommitdiff
path: root/deps/node/deps/node-inspect/examples/exceptions.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/deps/node-inspect/examples/exceptions.js')
-rw-r--r--deps/node/deps/node-inspect/examples/exceptions.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/deps/node/deps/node-inspect/examples/exceptions.js b/deps/node/deps/node-inspect/examples/exceptions.js
deleted file mode 100644
index f57d48a4..00000000
--- a/deps/node/deps/node-inspect/examples/exceptions.js
+++ /dev/null
@@ -1,10 +0,0 @@
-let error = null;
-try {
- throw new Error('Caught');
-} catch (e) {
- error = e;
-}
-
-if (error) {
- throw new Error('Uncaught');
-}