Files
ValueScript/inputs/passing/exceptions/tryCatchFinally.ts
Andrew Morris ba68ef697a Test exceptions
2023-03-23 15:48:33 +11:00

12 lines
212 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");
}
}