ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Exception functions
  • Special case
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
ErrorThrow (Function)
In french: ErreurDéclenche
Throw a non-fatal error. This error can be processed by the calling code if the management of non-fatal errors was enabled for this code (by the error handling window or the ErrorChangeParameter function).
Syntax
ErrorThrow(<Number> [, <Error message>])
<Number>: Integer
Error number, defined by the developer. This number must be included between 1 and 1000.
<Error message>: Optional character string
Additional information about the error.
Remarks

Special case

The mechanism for processing the error, regardless whether it is managed automatically (by error handling window) or through programming (with ErrorChangeParameter), is not triggered if the WLanguage function or the user procedure is found in one of the following cases:
IF NOT <Function or procedure> THEN
// Process the error
END
<Function or procedure>
IF ErrorOccurred = True THEN
// Process the error
END
The mechanism considers that the error is processed by programming and the automatic process is not triggered.
Component: wd290vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help