PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of sfError variables
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
sfError (Type of variable)
In French: sfErreur (Type de variable)
The sfError type is used to find out the characteristics of an error returned by Salesforce. The characteristics of these errors are returned by several WLanguage properties.
This type of variable is used by the following types of variables:
Note: See Declaring a variable for more details.
Versions 20 and later
WINDEVLinux This type of variable is now available for the WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
New in version 20
WINDEVLinux This type of variable is now available for the WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
WINDEVLinux This type of variable is now available for the WINDEV applications in Linux.
iPhone/iPad This type of variable is now available for the iPhone/iPad applications.
Remarks

Properties specific to the description of sfError variables

The following properties can be used to handle a Salesforce error:
NameType usedEffect
ErrorCodeCharacter stringError code. This code is used to identify the error that occurred. See the documentation of Salesforce API (keyword: StatusCode) for more details.
This property is available in read-only.
MessageCharacter stringText of the error message.
This property is available in read-only.
ItemCharacter stringList of items affected by the error. The names of items are separated by CR characters (Carriage Return).
This property is available in read-only.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment