Concept Flow - Terminating vs non-terminating errors
Run Command
Error Occurs?
No→Continue Execution
Yes
Is Error Terminating?
No→Show Error, Continue
Yes
Stop Execution Immediately
The script runs a command, checks if an error occurs, then decides if it stops or continues based on error type.