mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 07:57:57 -05:00
14 lines
225 B
TypeScript
14 lines
225 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;
|
|
}
|
|
}
|