RenderEmailTemplateError Class
Represents an error that the RenderEmailTemplateBodyResult object can contain.
The following are methods for RenderEmailTemplateError.
-
Returns the name of the merge field in the error.
-
Returns a message describing the error.
-
Returns the offset within the supplied body text where the error was discovered. If the offset cannot be determined, -1 is returned.
-
Returns a Salesforce API status code.
Returns the name of the merge field in the error.
public String getFieldName()
Type: String
Returns a message describing the error.
public String getMessage()
Type: String
Returns the offset within the supplied body text where the error was discovered. If the offset cannot be determined, -1 is returned.
public Integer getOffset()
Type: Integer
Returns a Salesforce API status code.
public System.StatusCode getStatusCode()
Type: System.StatusCode