MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / add_failure_callback

Function add_failure_callback

nanofi/src/api/nanofi.cpp:580–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

578}
579
580int add_failure_callback(flow *flow, void (*onerror_callback)(flow_file_record*)) {
581 return flow->setFailureCallback(onerror_callback) ? 0 : 1;
582}
583
584int set_failure_strategy(flow *flow, FailureStrategy strategy) {
585 return flow->setFailureStrategy(strategy) ? 0 : -1;

Callers 1

CAPITests.cppFile · 0.85

Calls 1

setFailureCallbackMethod · 0.80

Tested by

no test coverage detected