Concept Flow - Throw statement
Start script
Check for error condition
Yes
Throw error with message
Script stops and shows error
No
Continue script normally
End script
The script checks for an error condition. If true, it throws an error and stops execution. Otherwise, it continues normally.