Files
ValueScript/inputs/passing/exceptions/throwError.ts
2023-03-23 17:17:27 +11:00

6 lines
110 B
TypeScript

// test_error! Error{"message":"Test error"}
export default function () {
throw new Error("Test error");
}