ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Exception functions
  • Special case
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 between 1 and 1000.
<Error message>: Optional character string
Additional information about the error.
Remarks

Special case

The error handling mechanism, whether automatic (managed by error handling window) or programmed (function ErrorChangeParameter), is not triggered if the WLanguage function or user procedure is 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 through programming and the automatic process is not triggered.
Component: wd300vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help