FunctionExecutionError

FunctionExecutionError

The FunctionExecutionError denotes that the error was invoked
during a runtime evaluation of a function

Constructor

new FunctionExecutionError(error, fn, args, result)

Creates a new FunctionExecutionError instance. Any information that
can be passed about the error at the time of failure should be captured
here if possible. Some values that make sense are any other existing
error present at the time this issue cropped up, the function that failed,
any arguments passed to it and any resulting value it may have turned up.

Source:
Parameters:
Name Type Description
error Error | string

any error present at the time of failure

fn function

the function that failed

args Array.<mixed>

any arguments passed to the failed fn

result mixed

any result returned by the failed function