Files
ValueScript/inputs/passing/exceptions/tryCatchFinally.ts
2023-05-31 12:18:32 +10:00

12 lines
213 B
TypeScript

//! test_output(E: Error{"message":"teraboom"})
export default function () {
try {
throw new Error("boom");
} catch {
throw new Error("megaboom");
} finally {
throw new Error("teraboom");
}
}