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

Method checkDeferredError

fdbclient/ThreadSafeTransaction.cpp:619–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

617}
618
619ThreadFuture<Void> ThreadSafeTransaction::checkDeferredError() {
620 ISingleThreadTransaction* tr = this->tr;
621 return onMainThread([tr]() {
622 try {
623 tr->checkDeferredError();
624 } catch (Error& e) {
625 tr->deferredError = Error();
626 return Future<Void>(e);
627 }
628 return Future<Void>(Void());
629 });
630}
631
632ThreadFuture<Void> ThreadSafeTransaction::onError(Error const& e) {
633 ISingleThreadTransaction* tr = this->tr;

Callers 15

onConnectedMethod · 0.45
setOptionMethod · 0.45
rebootWorkerMethod · 0.45
createSnapshotMethod · 0.45
getServerProtocolMethod · 0.45
purgeBlobGranulesMethod · 0.45
blobbifyRangeMethod · 0.45
unblobbifyRangeMethod · 0.45
listBlobbifiedRangesMethod · 0.45

Calls 3

onMainThreadFunction · 0.50
ErrorClass · 0.50
VoidClass · 0.50

Tested by

no test coverage detected