Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Error Class
Namespace
Usage
Error class is part of SaveResult, which is generated when a user attempts to save a Salesforce record.
Error Methods
The following are methods for Error. All are instance methods.
getFields()
Signature
public String[] getFields()
Return Value
Type: String[]
getStatusCode()
Signature
public StatusCode getStatusCode()
Return Value
Type: StatusCode
Usage
The full list of status codes is available in the WSDL file for your organization (see Downloading Salesforce WSDLs and Client Authentication Certificates in the Salesforce online help.)