PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Special case
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
ErrorThrow (Function)
In French: ErreurDéclenche
Triggers a non-fatal error. This error can be processed by the calling code if a management of non-fatal errors was enabled by this code (by the window for error management or by ErrorChangeParameter).
Versions 15 and later
Android This function is now available for the Android applications.
PHP This function is now available for the PHP sites.
New in version 15
Android This function is now available for the Android applications.
PHP This function is now available for the PHP sites.
Android This function is now available for the Android applications.
PHP This function is now available for the PHP sites.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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 (with quotes)
Additional information about the error.
Remarks

Special case

The mechanism for processing the error, regardless whether it is managed automatically (by window for error management) or by 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment