SQF already has capability to throw errors by user command. I'm requesting this feature would be extended so that also script errors are thrown from the engine to the script catch block defined by the user
Description
Description
Details
Details
- Severity
- Feature
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Scripting
Steps To Reproduce
try { _i = 5 / 0; // Engine throws error } catch { hint _exception; // Prints "Zero divisor" };
Additional Information
Since the throw command already exists the engine could simply call that command internally
Event Timeline
Comment Actions
No, often requested in the past.
Script error == everything explode and nothing is safe anymore