FunctionErrorType Enum

Represents the error type of FunctionInvocationError.

These are the values of the functions.FunctionErrorType enum.

ValueDescription
FUNCTION_EXCEPTIONA 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_EXCEPTIONA 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_EXCEPTIONAn unknown exception. For example, a network or system-level issue within the Salesforce Functions infrastructure results in this error type.