PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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 handled by the calling code if it has activated a non-fatal error handling (either by the window for error management, or by the ErrorChangeParameter function).
Versions 15 and later
Android This function is now available for Android applications.
PHP This function is now available for PHP sites.
New in version 15
Android This function is now available for Android applications.
PHP This function is now available for PHP sites.
Android This function is now available for Android applications.
PHP This function is now available for PHP sites.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for 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
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 through programming (with ErrorChangeParameter), is not triggered if the WLanguage function or the user procedure is found in one of the following cases:
SI PAS <Fonction ou procédure> ALORS
// Traitement de l'erreur
FIN
<Fonction ou procédure>
SI ErreurDétectée = Vrai ALORS
// Traitement de l'erreur
FIN
The mechanism considers that the error is processed by programming and the automatic process is not triggered.
Component: wd270vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment