HI Team,
Is there a way to stop the execution of a server code script? this is to manage may program flow.
e.g.
if(condition){
}else{
response.error(message);
stop execution;
}
---other code----
HI Team,
Is there a way to stop the execution of a server code script? this is to manage may program flow.
e.g.
if(condition){
}else{
response.error(message);
stop execution;
}
---other code----
Hello Dongzhi,
You can use function in your server code and use codereturn;/code for exit from it. So you have to put full JS into that function.
That make sense, thanks