javaApiInterceptNodeExecutionFailed

Intercepts node execution when it fails.

Parameters

feature

The feature associated with this handler.

handle

The handler that processes node-failure events.

Example:

pipeline.interceptNodeExecutionFailed(feature, eventContext -> {
logger.warn("Node " + eventContext.getNode().getName()
+ " failed with error: " + eventContext.getThrowable().getMessage());
});