mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-13 07:28:03 -05:00
14 lines
224 B
TypeScript
14 lines
224 B
TypeScript
// test_error! Error{"message":"nested error"}
|
|
|
|
export default function () {
|
|
try {
|
|
try {
|
|
throw new Error("nested error");
|
|
} catch (error) {
|
|
throw error;
|
|
}
|
|
} catch (error) {
|
|
throw error;
|
|
}
|
|
}
|