MCPcopy Create free account
hub / github.com/apple/foundationdb / onError

Method onError

fdbclient/MultiVersionTransaction.actor.cpp:438–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438ThreadFuture<Void> DLTransaction::onError(Error const& e) {
439 FdbCApi::FDBFuture* f = api->transactionOnError(tr, e.code());
440
441 return toThreadFuture<Void>(api, f, [](FdbCApi::FDBFuture* f, FdbCApi* api) { return Void(); });
442}
443
444void DLTransaction::reset() {
445 api->transactionReset(tr);

Callers

nothing calls this directly

Calls 8

getTransactionFunction · 0.85
abortableFutureFunction · 0.85
onErrorFunction · 0.85
onErrorMethod · 0.65
VoidClass · 0.50
codeMethod · 0.45
isErrorMethod · 0.45
getErrorMethod · 0.45

Tested by

no test coverage detected