mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-13 15:38:06 -05:00
10 lines
184 B
TypeScript
10 lines
184 B
TypeScript
//! test_output(Error{"message":"Something went wrong"})
|
|
|
|
export default function () {
|
|
try {
|
|
throw new Error("Something went wrong");
|
|
} catch (error) {
|
|
return error;
|
|
}
|
|
}
|