FunctionInvocationError Interface

Use FunctionInvocationError to get detailed error information about a failed Function invocation.

functions

FunctionInvocationError contains various error information such as the error message at the time of the error.

The following are methods for FunctionInvocationError.

  • getMessage()

    Returns the error message from a Function invocation error.

  • getType()

    Returns the error type for FunctionInvocationError.

Returns the error message from a Function invocation error.

public String getMessage()

Type: String

Returns the error type for FunctionInvocationError.

public functions.FunctionErrorType getType()

Type: functions.FunctionErrorType

This is an example implementation of the functions.FunctionInvocationError interface.

This example tests the implementation.