ERROR
Windows ✓Linux ✓macOS ⏳
Syntax
ERROR <error number>
Description
This command allows you to set an error code so that the script aborts with an error message. It allows you to define custom error codes for user-defined commands and user-defined functions.
OK
The value of the OK indicator can be set to False by setting <error number> to -1.