Error Handling
Controlled Errors
error( "I don't like your tone of voice" );error( message="prepare to be deleted", exitCode=666 );function run() {
if( condition ) {
print.greenLine( 'Well that was easy' );
} else {
return 1;
}
}Was this helpful?