For handleError, it's unclear from the documentation what will happen if you throw an error from within the handleError method.
Is the following enough to abort execution automatically?
handleError(context) => {
throw new Error("Stop Processing!");
}
Or would we need to add in an extra call to context.abort?:
handleError(context) => {
context.abort();
throw new Error("Stop Processing!");
}