7 lines
96 B
Text
7 lines
96 B
Text
if (error) {
|
|
throw "Error"
|
|
}
|
|
|
|
if (something) {
|
|
throw new MyException (errorcode, a, b)
|
|
}
|