SetErrorNumber()
Syntax
SetErrorNumber(Number)Description
Forcibly causes an error. For example, if you did not find a file force error 54 to occur and let the error-handler show the error. The debugger must be disabled when using this function.
Example:Procedure ErrorHandler() MessageRequester("","Error "+Str(GetErrorNumber())) End EndProcedure OnErrorGosub(@ErrorHandler()) SetErrorNumber(54)
Supported OS
Windows