summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/nested_error.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-07-30 16:09:42 +0200
committerGitHub <noreply@github.com>2022-07-30 16:09:42 +0200
commit20a89d46c4af091f30daf0df20b12c91962f9b14 (patch)
tree600279208bfbe3c3098821956da1ef3cd1eaf65d /cli/tests/testdata/nested_error.ts
parent3f0dcd3b80b872df6d287ef4a7afa4388c5a3d91 (diff)
fix(core): BorrowMutError in nested error (#15352)
Diffstat (limited to 'cli/tests/testdata/nested_error.ts')
-rw-r--r--cli/tests/testdata/nested_error.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/nested_error.ts b/cli/tests/testdata/nested_error.ts
new file mode 100644
index 000000000..69828e1ca
--- /dev/null
+++ b/cli/tests/testdata/nested_error.ts
@@ -0,0 +1,3 @@
+throw {
+ foo: new Error(),
+};