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.
FunctionErrorType Enum
Enum Values
These are the values of the functions.FunctionErrorType enum.
| Value | Description |
|---|---|
| FUNCTION_EXCEPTION | A known exception resulting from the Function logic itself. Examples include an exception thrown from the Function code, or an exception thrown from a library or framework the Function uses. |
| RUNTIME_EXCEPTION | A known exception resulting from the Salesforce Functions runtime. For example, a malformed payload passed to the Function when invoked results in this error type. |
| UNEXPECTED_FUNCTION_EXCEPTION | An unknown exception. For example, a network or system-level issue within the Salesforce Functions infrastructure results in this error type. |