Help / WLanguage / WLanguage functions / Communication / Salesforce functions
  • Properties specific to the description of sfError variables
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
sfError (Type of variable)
In french: sfErreur
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:
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.

Properties specific to the description of sfError variables

The following properties can be used to handle a Salesforce error:
Property nameType usedEffect
ErrorCodeCharacter stringError code. This code is used to identify the error that occurred. For more details, see the documentation of Salesforce API (keyword: StatusCode).
This property is read-only.
MessageCharacter stringError message.
This property is read-only.
ItemCharacter stringList of items affected by the error. The names of items are separated by CR characters (Carriage Return).
This property is read-only.
Minimum version required
  • Version 14
This page is also available for…
Click [Add] to post a comment

Last update: 08/24/2022

Send a report | Local help