RosettaCodeData/Task/Exceptions/Aikido/exceptions-2.aikido
2023-07-01 13:44:08 -04:00

7 lines
96 B
Text

if (error) {
throw "Error"
}
if (something) {
throw new MyException (errorcode, a, b)
}