2

Something like a try-catch block

When writing code for a task, it would be useful to be able to implement something like a try-catch block, similar to this ...

try
  action-1
  action-2
  action-3
  ... more actions and logic ...
catch
   action-a
   action-b
   action-c
   ... perform these actions and logic if
   any of the actions in the "try" block fail;
   otherwise, skip this "catch" block if all
   of the "try" actions succeed ...
end-try-catch

It doesn't necessarily have to be this exact try/catch syntax, but whatever the exact syntax, similar functionality would be useful and helpful.